3.4.0
tigl::CTiglTriangularizer Class Reference

#include <CTiglTriangularizer.h>

Public Member Functions

TIGL_EXPORT CTiglTriangularizer (PNamedShape shape, double deflection, bool computeNormals=true)
 
TIGL_EXPORT CTiglTriangularizer (const CTiglUIDManager *uidMgr, PNamedShape shape, double deflection, ComponentTraingMode mode=NO_INFO, bool computeNormals=true)
 
const CTiglPolyDatagetTriangulation () const
 

Private Member Functions

int triangularizeComponent (const CTiglUIDManager *uidMgr, PNamedShape shape, double deflection, ComponentTraingMode=NO_INFO)
 
int triangularizeFace (const TopoDS_Face &, unsigned long &nVertices, unsigned long &iPolyLow, unsigned long &iPolyUp)
 
void writeFaceDummyMeta (unsigned long iPolyLower, unsigned long iPolyUpper)
 
void writeFaceMeta (const CTiglUIDManager *uidMgr, const CFaceTraits &traits, const std::string &componentUID, TopoDS_Face face, unsigned long iPolyLower, unsigned long iPolyUpper)
 
bool writeWingMeta (ITiglGeometricComponent &wing, const CFaceTraits &traits, gp_Pnt centralP, unsigned long iPolyLower, unsigned long iPolyUpper)
 
bool writeWingSegmentMeta (ITiglGeometricComponent &segment, const CFaceTraits &traits, gp_Pnt centralP, unsigned long iPolyLower, unsigned long iPolyUpper)
 

Private Attributes

bool m_computeNormals
 
CTiglPolyData polys
 

Constructor & Destructor Documentation

◆ CTiglTriangularizer() [1/2]

TIGL_EXPORT tigl::CTiglTriangularizer::CTiglTriangularizer ( PNamedShape  shape,
double  deflection,
bool  computeNormals = true 
)

◆ CTiglTriangularizer() [2/2]

TIGL_EXPORT tigl::CTiglTriangularizer::CTiglTriangularizer ( const CTiglUIDManager uidMgr,
PNamedShape  shape,
double  deflection,
ComponentTraingMode  mode = NO_INFO,
bool  computeNormals = true 
)

Member Function Documentation

◆ getTriangulation()

const CTiglPolyData& tigl::CTiglTriangularizer::getTriangulation ( ) const
inline

◆ triangularizeComponent()

int tigl::CTiglTriangularizer::triangularizeComponent ( const CTiglUIDManager uidMgr,
PNamedShape  shape,
double  deflection,
ComponentTraingMode  = NO_INFO 
)
private

◆ triangularizeFace()

int tigl::CTiglTriangularizer::triangularizeFace ( const TopoDS_Face &  ,
unsigned long &  nVertices,
unsigned long &  iPolyLow,
unsigned long &  iPolyUp 
)
private

◆ writeFaceDummyMeta()

void tigl::CTiglTriangularizer::writeFaceDummyMeta ( unsigned long  iPolyLower,
unsigned long  iPolyUpper 
)
private

◆ writeFaceMeta()

void tigl::CTiglTriangularizer::writeFaceMeta ( const CTiglUIDManager uidMgr,
const CFaceTraits traits,
const std::string &  componentUID,
TopoDS_Face  face,
unsigned long  iPolyLower,
unsigned long  iPolyUpper 
)
private

◆ writeWingMeta()

bool tigl::CTiglTriangularizer::writeWingMeta ( ITiglGeometricComponent wing,
const CFaceTraits traits,
gp_Pnt  centralP,
unsigned long  iPolyLower,
unsigned long  iPolyUpper 
)
private

◆ writeWingSegmentMeta()

bool tigl::CTiglTriangularizer::writeWingSegmentMeta ( ITiglGeometricComponent segment,
const CFaceTraits traits,
gp_Pnt  centralP,
unsigned long  iPolyLower,
unsigned long  iPolyUpper 
)
private

Field Documentation

◆ m_computeNormals

bool tigl::CTiglTriangularizer::m_computeNormals
private

◆ polys

CTiglPolyData tigl::CTiglTriangularizer::polys
private

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