Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
GeomBndLib_Ellipse2d Class Reference

Computes bounding box for a 2D ellipse (Geom2d_Ellipse). Uses analytical per-coordinate extrema computation. More...

#include <GeomBndLib_Ellipse2d.hxx>

Public Member Functions

 GeomBndLib_Ellipse2d (const occ::handle< Geom2d_Ellipse > &theEllipse)
 GeomBndLib_Ellipse2d (const GeomBndLib_Ellipse2d &)=delete
GeomBndLib_Ellipse2d & operator= (const GeomBndLib_Ellipse2d &)=delete
 GeomBndLib_Ellipse2d (GeomBndLib_Ellipse2d &&)=delete
GeomBndLib_Ellipse2d & operator= (GeomBndLib_Ellipse2d &&)=delete
const occ::handle< Geom2d_Ellipse > & Geometry () const
Bnd_Box2d Box (double theTol) const
 Compute bounding box for full ellipse.
Bnd_Box2d Box (double theU1, double theU2, double theTol) const
 Compute bounding box for arc [theU1, theU2].
Bnd_Box2d BoxOptimal (double theU1, double theU2, double theTol) const
 For analytical curves, BoxOptimal is same as Box.

Static Public Member Functions

static Bnd_Box2d Box (const gp_Elips2d &theElips, double theTol)
 Compute bounding box for a full ellipse defined by gp_Elips2d.
static Bnd_Box2d Box (const gp_Elips2d &theElips, double theU1, double theU2, double theTol)
 Compute bounding box for an ellipse arc [theU1, theU2] defined by gp_Elips2d.

Detailed Description

Computes bounding box for a 2D ellipse (Geom2d_Ellipse). Uses analytical per-coordinate extrema computation.

Static methods accepting gp_Elips2d can be used directly without constructing a Geom2d_Ellipse handle.

Constructor & Destructor Documentation

◆ GeomBndLib_Ellipse2d() [1/3]

GeomBndLib_Ellipse2d::GeomBndLib_Ellipse2d ( const occ::handle< Geom2d_Ellipse > & theEllipse)
inline

◆ GeomBndLib_Ellipse2d() [2/3]

GeomBndLib_Ellipse2d::GeomBndLib_Ellipse2d ( const GeomBndLib_Ellipse2d & )
delete

◆ GeomBndLib_Ellipse2d() [3/3]

GeomBndLib_Ellipse2d::GeomBndLib_Ellipse2d ( GeomBndLib_Ellipse2d && )
delete

Member Function Documentation

◆ Box() [1/4]

Bnd_Box2d GeomBndLib_Ellipse2d::Box ( const gp_Elips2d & theElips,
double theTol )
staticnodiscard

Compute bounding box for a full ellipse defined by gp_Elips2d.

◆ Box() [2/4]

Bnd_Box2d GeomBndLib_Ellipse2d::Box ( const gp_Elips2d & theElips,
double theU1,
double theU2,
double theTol )
staticnodiscard

Compute bounding box for an ellipse arc [theU1, theU2] defined by gp_Elips2d.

◆ Box() [3/4]

Bnd_Box2d GeomBndLib_Ellipse2d::Box ( double theTol) const
inlinenodiscard

Compute bounding box for full ellipse.

◆ Box() [4/4]

Bnd_Box2d GeomBndLib_Ellipse2d::Box ( double theU1,
double theU2,
double theTol ) const
inlinenodiscard

Compute bounding box for arc [theU1, theU2].

◆ BoxOptimal()

Bnd_Box2d GeomBndLib_Ellipse2d::BoxOptimal ( double theU1,
double theU2,
double theTol ) const
inlinenodiscard

For analytical curves, BoxOptimal is same as Box.

◆ Geometry()

const occ::handle< Geom2d_Ellipse > & GeomBndLib_Ellipse2d::Geometry ( ) const
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

GeomBndLib_Ellipse2d & GeomBndLib_Ellipse2d::operator= ( GeomBndLib_Ellipse2d && )
delete

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