Open CASCADE Technology
6.9.0
|
This package provides the bounding boxes for curves and surfaces from BRepAdaptor. Functions to add a topological shape to a bounding box. More...
#include <BRepBndLib.hxx>
Static Public Member Functions | |
static void | Add (const TopoDS_Shape &S, Bnd_Box &B, const Standard_Boolean useTriangulation=Standard_True) |
Adds the shape S to the bounding box B. More precisely are successively added to B: More... | |
static void | AddClose (const TopoDS_Shape &S, Bnd_Box &B) |
Adds the shape S to the bounding box B. This is a quick algorithm but only works if the shape S is composed of polygonal planar faces, as is the case if S is an approached polyhedral representation of an exact shape. Pay particular attention to this because this condition is not checked and, if it not respected, an error may occur in the algorithm for which the bounding box is built. Note that the resulting bounding box is not enlarged by the tolerance value of the sub-shapes as is the case with the Add function. So the added part of the resulting bounding box is closer to the shape S. More... | |
This package provides the bounding boxes for curves and surfaces from BRepAdaptor. Functions to add a topological shape to a bounding box.
|
static |
Adds the shape S to the bounding box B. More precisely are successively added to B:
|
static |
Adds the shape S to the bounding box B. This is a quick algorithm but only works if the shape S is composed of polygonal planar faces, as is the case if S is an approached polyhedral representation of an exact shape. Pay particular attention to this because this condition is not checked and, if it not respected, an error may occur in the algorithm for which the bounding box is built. Note that the resulting bounding box is not enlarged by the tolerance value of the sub-shapes as is the case with the Add function. So the added part of the resulting bounding box is closer to the shape S.