Open CASCADE Technology  7.7.0
Public Member Functions | Static Public Member Functions
BRepMesh_Triangulator Class Reference

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. More...
 
Standard_Boolean Perform (NCollection_List< Poly_Triangle > &thePolyTriangles)
 Performs triangulation of source wires and stores triangles the output list. More...
 
void SetMessenger (const Handle< Message_Messenger > &theMess)
 Set messenger for output information without this Message::DefaultMessenger() will be used. More...
 
BRepMesh_Triangulatoroperator= (const BRepMesh_Triangulator &theOther)
 

Static Public Member Functions

static Handle< Poly_TriangulationToPolyTriangulation (const TColgp_Array1OfPnt &theNodes, const NCollection_List< Poly_Triangle > &thePolyTriangles)
 Performs conversion of the given list of triangles to Poly_Triangulation. More...
 

Detailed Description

Auxiliary tool to generate triangulation.

Constructor & Destructor Documentation

◆ BRepMesh_Triangulator()

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.

Member Function Documentation

◆ operator=()

BRepMesh_Triangulator& BRepMesh_Triangulator::operator= ( const BRepMesh_Triangulator theOther)

◆ Perform()

Standard_Boolean BRepMesh_Triangulator::Perform ( NCollection_List< Poly_Triangle > &  thePolyTriangles)

Performs triangulation of source wires and stores triangles the output list.

◆ SetMessenger()

void BRepMesh_Triangulator::SetMessenger ( const Handle< Message_Messenger > &  theMess)
inline

Set messenger for output information without this Message::DefaultMessenger() will be used.

◆ ToPolyTriangulation()

static Handle< Poly_Triangulation > BRepMesh_Triangulator::ToPolyTriangulation ( const TColgp_Array1OfPnt theNodes,
const NCollection_List< Poly_Triangle > &  thePolyTriangles 
)
static

Performs conversion of the given list of triangles to Poly_Triangulation.


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