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

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

#include <GeomBndLib_Curve2d.hxx>

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ GeomBndLib_Curve2d() [1/4]

GeomBndLib_Curve2d::GeomBndLib_Curve2d ( const Adaptor2d_Curve2d & theCurve)

Construct from an adaptor curve.

◆ GeomBndLib_Curve2d() [2/4]

GeomBndLib_Curve2d::GeomBndLib_Curve2d ( const occ::handle< Geom2d_Curve > & theCurve)

Construct from a Geom2d_Curve handle.

◆ GeomBndLib_Curve2d() [3/4]

GeomBndLib_Curve2d::GeomBndLib_Curve2d ( const GeomBndLib_Curve2d & )
delete

◆ GeomBndLib_Curve2d() [4/4]

GeomBndLib_Curve2d::GeomBndLib_Curve2d ( GeomBndLib_Curve2d && )
delete

Member Function Documentation

◆ Add() [1/2]

void GeomBndLib_Curve2d::Add ( double theTol,
Bnd_Box2d & theBox ) const

Add bounding box for full curve.

◆ Add() [2/2]

void GeomBndLib_Curve2d::Add ( double theU1,
double theU2,
double theTol,
Bnd_Box2d & theBox ) const

Add bounding box for arc [theU1, theU2].

◆ AddOptimal() [1/2]

void GeomBndLib_Curve2d::AddOptimal ( double theTol,
Bnd_Box2d & theBox ) const

Add precise bounding box for full curve.

◆ AddOptimal() [2/2]

void GeomBndLib_Curve2d::AddOptimal ( double theU1,
double theU2,
double theTol,
Bnd_Box2d & theBox ) const

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

◆ Box() [1/2]

Bnd_Box2d GeomBndLib_Curve2d::Box ( double theTol) const

Compute bounding box for full curve.

◆ Box() [2/2]

Bnd_Box2d GeomBndLib_Curve2d::Box ( double theU1,
double theU2,
double theTol ) const

Compute bounding box for arc [theU1, theU2].

◆ BoxOptimal() [1/2]

Bnd_Box2d GeomBndLib_Curve2d::BoxOptimal ( double theTol) const

Compute precise bounding box for full curve.

◆ BoxOptimal() [2/2]

Bnd_Box2d GeomBndLib_Curve2d::BoxOptimal ( double theU1,
double theU2,
double theTol ) const

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

◆ GetType()

GeomAbs_CurveType GeomBndLib_Curve2d::GetType ( ) const
inline

Return detected curve type.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

GeomBndLib_Curve2d & GeomBndLib_Curve2d::operator= ( GeomBndLib_Curve2d && )
delete

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