Open CASCADE Technology
6.5.4
|
The BRepBuilderAPI package provides an Application
Programming Interface for the BRep topology data
structure.
The API is a set of classes aiming to provide :
More...
#include <BRepBuilderAPI.hxx>
Static Public Member Functions | |
static DEFINE_STANDARD_ALLOC void | Plane (const Handle< Geom_Plane > &P) |
Sets the current plane. | |
static const Handle_Geom_Plane & | Plane () |
Returns the current plane. | |
static void | Precision (const Standard_Real P) |
Sets the default precision. The current Precision is returned. | |
static Standard_Real | Precision () |
Returns the default precision. |
* High level and simple calls for the most common <br> operations. <br>
The constructors of the classes provides the
different constructions methods.
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 DEFINE_STANDARD_ALLOC void BRepBuilderAPI::Plane | ( | const Handle< Geom_Plane > & | P | ) | [static] |
static const Handle_Geom_Plane& BRepBuilderAPI::Plane | ( | ) | [static] |
static void BRepBuilderAPI::Precision | ( | const Standard_Real | P | ) | [static] |
static Standard_Real BRepBuilderAPI::Precision | ( | ) | [static] |