Open CASCADE Technology 7.8.0
|
Auxiliary tool to generate triangulation. More...
#include <BRepMesh_Triangulator.hxx>
Public Member Functions | |
BRepMesh_Triangulator (const NCollection_Vector< gp_XYZ > &theXYZs, const NCollection_List< TColStd_SequenceOfInteger > &theWires, const gp_Dir &theNorm) | |
Constructor. Initialized tool by the given parameters. | |
Standard_Boolean | Perform (NCollection_List< Poly_Triangle > &thePolyTriangles) |
Performs triangulation of source wires and stores triangles the output list. | |
void | SetMessenger (const Handle< Message_Messenger > &theMess) |
Set messenger for output information without this Message::DefaultMessenger() will be used. | |
BRepMesh_Triangulator & | operator= (const BRepMesh_Triangulator &theOther) |
Static Public Member Functions | |
static Handle< Poly_Triangulation > | ToPolyTriangulation (const TColgp_Array1OfPnt &theNodes, const NCollection_List< Poly_Triangle > &thePolyTriangles) |
Performs conversion of the given list of triangles to Poly_Triangulation. | |
Auxiliary tool to generate triangulation.
BRepMesh_Triangulator::BRepMesh_Triangulator | ( | const NCollection_Vector< gp_XYZ > & | theXYZs, |
const NCollection_List< TColStd_SequenceOfInteger > & | theWires, | ||
const gp_Dir & | theNorm | ||
) |
Constructor. Initialized tool by the given parameters.
BRepMesh_Triangulator & BRepMesh_Triangulator::operator= | ( | const BRepMesh_Triangulator & | theOther | ) |
Standard_Boolean BRepMesh_Triangulator::Perform | ( | NCollection_List< Poly_Triangle > & | thePolyTriangles | ) |
Performs triangulation of source wires and stores triangles the output list.
|
inline |
Set messenger for output information without this Message::DefaultMessenger() will be used.
|
static |
Performs conversion of the given list of triangles to Poly_Triangulation.