Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions
GeomBndLib_Line2d Class Reference

Computes bounding box for a 2D line (Geom2d_Line). Handles infinite parameters by opening the box in appropriate directions. More...

#include <GeomBndLib_Line2d.hxx>

Public Member Functions

 GeomBndLib_Line2d (const occ::handle< Geom2d_Line > &theLine)
 
 GeomBndLib_Line2d (const GeomBndLib_Line2d &)=delete
 
GeomBndLib_Line2doperator= (const GeomBndLib_Line2d &)=delete
 
 GeomBndLib_Line2d (GeomBndLib_Line2d &&)=delete
 
GeomBndLib_Line2doperator= (GeomBndLib_Line2d &&)=delete
 
const occ::handle< Geom2d_Line > & Geometry () const
 
Bnd_Box2d Box (double theU1, double theU2, double theTol) const
 Compute bounding box for line segment [theU1, theU2].
 
Bnd_Box2d Box (double theTol) const
 Compute bounding box for full curve.
 
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_Lin2d &theLin, double theU1, double theU2, double theTol)
 Compute bounding box for a 2D line segment [theU1, theU2] defined by gp_Lin2d.
 

Detailed Description

Computes bounding box for a 2D line (Geom2d_Line). Handles infinite parameters by opening the box in appropriate directions.

Static method accepting gp_Lin2d can be used directly without constructing a Geom2d_Line handle.

Constructor & Destructor Documentation

◆ GeomBndLib_Line2d() [1/3]

GeomBndLib_Line2d::GeomBndLib_Line2d ( const occ::handle< Geom2d_Line > & theLine)
inline

◆ GeomBndLib_Line2d() [2/3]

GeomBndLib_Line2d::GeomBndLib_Line2d ( const GeomBndLib_Line2d & )
delete

◆ GeomBndLib_Line2d() [3/3]

GeomBndLib_Line2d::GeomBndLib_Line2d ( GeomBndLib_Line2d && )
delete

Member Function Documentation

◆ Box() [1/3]

static Bnd_Box2d GeomBndLib_Line2d::Box ( const gp_Lin2d & theLin,
double theU1,
double theU2,
double theTol )
inlinestatic

Compute bounding box for a 2D line segment [theU1, theU2] defined by gp_Lin2d.

◆ Box() [2/3]

Bnd_Box2d GeomBndLib_Line2d::Box ( double theTol) const
inline

Compute bounding box for full curve.

◆ Box() [3/3]

Bnd_Box2d GeomBndLib_Line2d::Box ( double theU1,
double theU2,
double theTol ) const
inline

Compute bounding box for line segment [theU1, theU2].

◆ BoxOptimal()

Bnd_Box2d GeomBndLib_Line2d::BoxOptimal ( double theU1,
double theU2,
double theTol ) const
inline

For analytical curves, BoxOptimal is same as Box.

◆ Geometry()

const occ::handle< Geom2d_Line > & GeomBndLib_Line2d::Geometry ( ) const
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

GeomBndLib_Line2d & GeomBndLib_Line2d::operator= ( GeomBndLib_Line2d && )
delete

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