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

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

#include <GeomBndLib_Curve.hxx>

Public Member Functions

 GeomBndLib_Curve (const Adaptor3d_Curve &theCurve)
 Construct from an adaptor curve.
 
 GeomBndLib_Curve (const occ::handle< Geom_Curve > &theCurve)
 Construct from a Geom_Curve handle.
 
 GeomBndLib_Curve (const GeomBndLib_Curve &)=delete
 
GeomBndLib_Curveoperator= (const GeomBndLib_Curve &)=delete
 
 GeomBndLib_Curve (GeomBndLib_Curve &&)=delete
 
GeomBndLib_Curveoperator= (GeomBndLib_Curve &&)=delete
 
GeomAbs_CurveType GetType () const
 Return detected curve type.
 
Bnd_Box Box (double theTol) const
 Compute bounding box for full curve.
 
Bnd_Box Box (double theU1, double theU2, double theTol) const
 Compute bounding box for arc [theU1, theU2].
 
Bnd_Box BoxOptimal (double theTol) const
 Compute precise bounding box for full curve.
 
Bnd_Box BoxOptimal (double theU1, double theU2, double theTol) const
 Compute precise bounding box for arc [theU1, theU2].
 
void Add (double theTol, Bnd_Box &theBox) const
 Add bounding box for full curve.
 
void Add (double theU1, double theU2, double theTol, Bnd_Box &theBox) const
 Add bounding box for arc [theU1, theU2].
 
void AddOptimal (double theTol, Bnd_Box &theBox) const
 Add precise bounding box for full curve.
 
void AddOptimal (double theU1, double theU2, double theTol, Bnd_Box &theBox) const
 Add precise bounding box for arc [theU1, theU2].
 

Detailed Description

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

Constructor & Destructor Documentation

◆ GeomBndLib_Curve() [1/4]

GeomBndLib_Curve::GeomBndLib_Curve ( const Adaptor3d_Curve & theCurve)

Construct from an adaptor curve.

◆ GeomBndLib_Curve() [2/4]

GeomBndLib_Curve::GeomBndLib_Curve ( const occ::handle< Geom_Curve > & theCurve)

Construct from a Geom_Curve handle.

◆ GeomBndLib_Curve() [3/4]

GeomBndLib_Curve::GeomBndLib_Curve ( const GeomBndLib_Curve & )
delete

◆ GeomBndLib_Curve() [4/4]

GeomBndLib_Curve::GeomBndLib_Curve ( GeomBndLib_Curve && )
delete

Member Function Documentation

◆ Add() [1/2]

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

Add bounding box for full curve.

◆ Add() [2/2]

void GeomBndLib_Curve::Add ( double theU1,
double theU2,
double theTol,
Bnd_Box & theBox ) const

Add bounding box for arc [theU1, theU2].

◆ AddOptimal() [1/2]

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

Add precise bounding box for full curve.

◆ AddOptimal() [2/2]

void GeomBndLib_Curve::AddOptimal ( double theU1,
double theU2,
double theTol,
Bnd_Box & theBox ) const

Add precise bounding box for arc [theU1, theU2].

◆ Box() [1/2]

Bnd_Box GeomBndLib_Curve::Box ( double theTol) const

Compute bounding box for full curve.

◆ Box() [2/2]

Bnd_Box GeomBndLib_Curve::Box ( double theU1,
double theU2,
double theTol ) const

Compute bounding box for arc [theU1, theU2].

◆ BoxOptimal() [1/2]

Bnd_Box GeomBndLib_Curve::BoxOptimal ( double theTol) const

Compute precise bounding box for full curve.

◆ BoxOptimal() [2/2]

Bnd_Box GeomBndLib_Curve::BoxOptimal ( double theU1,
double theU2,
double theTol ) const

Compute precise bounding box for arc [theU1, theU2].

◆ GetType()

GeomAbs_CurveType GeomBndLib_Curve::GetType ( ) const
inline

Return detected curve type.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

GeomBndLib_Curve & GeomBndLib_Curve::operator= ( GeomBndLib_Curve && )
delete

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