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

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

#include <GeomBndLib_Line.hxx>

Public Member Functions

 GeomBndLib_Line (const occ::handle< Geom_Line > &theLine)
 
 GeomBndLib_Line (const GeomBndLib_Line &)=delete
 
GeomBndLib_Lineoperator= (const GeomBndLib_Line &)=delete
 
 GeomBndLib_Line (GeomBndLib_Line &&)=delete
 
GeomBndLib_Lineoperator= (GeomBndLib_Line &&)=delete
 
const occ::handle< Geom_Line > & Geometry () const
 
Bnd_Box Box (double theU1, double theU2, double theTol) const
 Compute bounding box for line segment [theU1, theU2].
 
Bnd_Box Box (double theTol) const
 Compute bounding box for full curve.
 
Bnd_Box BoxOptimal (double theU1, double theU2, double theTol) const
 For analytical curves, BoxOptimal is same as Box.
 

Static Public Member Functions

static Bnd_Box Box (const gp_Lin &theLin, double theU1, double theU2, double theTol)
 Compute bounding box for a line segment [theU1, theU2] defined by gp_Lin.
 

Detailed Description

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

Static method accepting gp_Lin can be used directly without constructing a Geom_Line handle.

Constructor & Destructor Documentation

◆ GeomBndLib_Line() [1/3]

GeomBndLib_Line::GeomBndLib_Line ( const occ::handle< Geom_Line > & theLine)
inline

◆ GeomBndLib_Line() [2/3]

GeomBndLib_Line::GeomBndLib_Line ( const GeomBndLib_Line & )
delete

◆ GeomBndLib_Line() [3/3]

GeomBndLib_Line::GeomBndLib_Line ( GeomBndLib_Line && )
delete

Member Function Documentation

◆ Box() [1/3]

static Bnd_Box GeomBndLib_Line::Box ( const gp_Lin & theLin,
double theU1,
double theU2,
double theTol )
inlinestatic

Compute bounding box for a line segment [theU1, theU2] defined by gp_Lin.

◆ Box() [2/3]

Bnd_Box GeomBndLib_Line::Box ( double theTol) const
inline

Compute bounding box for full curve.

◆ Box() [3/3]

Bnd_Box GeomBndLib_Line::Box ( double theU1,
double theU2,
double theTol ) const
inline

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

◆ BoxOptimal()

Bnd_Box GeomBndLib_Line::BoxOptimal ( double theU1,
double theU2,
double theTol ) const
inline

For analytical curves, BoxOptimal is same as Box.

◆ Geometry()

const occ::handle< Geom_Line > & GeomBndLib_Line::Geometry ( ) const
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

GeomBndLib_Line & GeomBndLib_Line::operator= ( GeomBndLib_Line && )
delete

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