Open CASCADE Technology
7.7.0
|
The BRepBuilderAPI package provides an Application Programming Interface for the BRep topology data structure. More...
#include <BRepBuilderAPI.hxx>
Static Public Member Functions | |
static void | Plane (const Handle< Geom_Plane > &P) |
Sets the current plane. More... | |
static const Handle< Geom_Plane > & | Plane () |
Returns the current plane. More... | |
static void | Precision (const Standard_Real P) |
Sets the default precision. The current Precision is returned. More... | |
static Standard_Real | Precision () |
Returns the default precision. More... | |
The BRepBuilderAPI package provides an Application Programming Interface for the BRep topology data structure.
The API is a set of classes aiming to provide :
The API provides classes to build objects:
For example to make a vertex <V> from a point
one can writes :
V = BRepBuilderAPI_MakeVertex(P);
or
BRepBuilderAPI_MakeVertex MV(P); V = MV.Vertex();
For tolerances a default precision is used which can be changed by the packahe method BRepBuilderAPI::Precision.
For error handling the BRepBuilderAPI commands raise only the NotDone error. When Done is false on a command the error description can be asked to the command.
In theory the comands can be called with any arguments, argument checking is performed by the command.
|
static |
Sets the current plane.
|
static |
Returns the current plane.
|
static |
Sets the default precision. The current Precision is returned.
|
static |
Returns the default precision.