Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GeomBndLib_Surface Class Reference

Variant-based dispatcher for 3D surface bounding box computation. Auto-detects the surface type and delegates to the appropriate specialized class. More...

#include <GeomBndLib_Surface.hxx>

Public Member Functions

 GeomBndLib_Surface (const Adaptor3d_Surface &theSurf)
 Construct from an adaptor surface.
 
 GeomBndLib_Surface (const occ::handle< Geom_Surface > &theSurf)
 Construct from a Geom_Surface handle.
 
 GeomBndLib_Surface (const GeomBndLib_Surface &)=delete
 
GeomBndLib_Surfaceoperator= (const GeomBndLib_Surface &)=delete
 
 GeomBndLib_Surface (GeomBndLib_Surface &&)=delete
 
GeomBndLib_Surfaceoperator= (GeomBndLib_Surface &&)=delete
 
GeomAbs_SurfaceType GetType () const
 Return detected surface type.
 
Bnd_Box Box (double theTol) const
 Compute bounding box for full surface.
 
Bnd_Box Box (double theUMin, double theUMax, double theVMin, double theVMax, double theTol) const
 Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].
 
Bnd_Box BoxOptimal (double theTol) const
 Compute precise bounding box for full surface.
 
Bnd_Box BoxOptimal (double theUMin, double theUMax, double theVMin, double theVMax, double theTol) const
 Compute precise bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].
 
void Add (double theTol, Bnd_Box &theBox) const
 Add bounding box for full surface.
 
void Add (double theUMin, double theUMax, double theVMin, double theVMax, double theTol, Bnd_Box &theBox) const
 Add bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].
 
void AddOptimal (double theTol, Bnd_Box &theBox) const
 Add precise bounding box for full surface.
 
void AddOptimal (double theUMin, double theUMax, double theVMin, double theVMax, double theTol, Bnd_Box &theBox) const
 Add precise bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].
 

Detailed Description

Variant-based dispatcher for 3D surface bounding box computation. Auto-detects the surface type and delegates to the appropriate specialized class.

Constructor & Destructor Documentation

◆ GeomBndLib_Surface() [1/4]

GeomBndLib_Surface::GeomBndLib_Surface ( const Adaptor3d_Surface & theSurf)

Construct from an adaptor surface.

◆ GeomBndLib_Surface() [2/4]

GeomBndLib_Surface::GeomBndLib_Surface ( const occ::handle< Geom_Surface > & theSurf)

Construct from a Geom_Surface handle.

◆ GeomBndLib_Surface() [3/4]

GeomBndLib_Surface::GeomBndLib_Surface ( const GeomBndLib_Surface & )
delete

◆ GeomBndLib_Surface() [4/4]

GeomBndLib_Surface::GeomBndLib_Surface ( GeomBndLib_Surface && )
delete

Member Function Documentation

◆ Add() [1/2]

void GeomBndLib_Surface::Add ( double theTol,
Bnd_Box & theBox ) const

Add bounding box for full surface.

◆ Add() [2/2]

void GeomBndLib_Surface::Add ( double theUMin,
double theUMax,
double theVMin,
double theVMax,
double theTol,
Bnd_Box & theBox ) const

Add bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

◆ AddOptimal() [1/2]

void GeomBndLib_Surface::AddOptimal ( double theTol,
Bnd_Box & theBox ) const

Add precise bounding box for full surface.

◆ AddOptimal() [2/2]

void GeomBndLib_Surface::AddOptimal ( double theUMin,
double theUMax,
double theVMin,
double theVMax,
double theTol,
Bnd_Box & theBox ) const

Add precise bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

◆ Box() [1/2]

Bnd_Box GeomBndLib_Surface::Box ( double theTol) const

Compute bounding box for full surface.

◆ Box() [2/2]

Bnd_Box GeomBndLib_Surface::Box ( double theUMin,
double theUMax,
double theVMin,
double theVMax,
double theTol ) const

Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

◆ BoxOptimal() [1/2]

Bnd_Box GeomBndLib_Surface::BoxOptimal ( double theTol) const

Compute precise bounding box for full surface.

◆ BoxOptimal() [2/2]

Bnd_Box GeomBndLib_Surface::BoxOptimal ( double theUMin,
double theUMax,
double theVMin,
double theVMax,
double theTol ) const

Compute precise bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

◆ GetType()

GeomAbs_SurfaceType GeomBndLib_Surface::GetType ( ) const
inline

Return detected surface type.

◆ operator=() [1/2]

GeomBndLib_Surface & GeomBndLib_Surface::operator= ( const GeomBndLib_Surface & )
delete

◆ operator=() [2/2]

GeomBndLib_Surface & GeomBndLib_Surface::operator= ( GeomBndLib_Surface && )
delete

The documentation for this class was generated from the following file: