CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
GeMesh Namespace Reference

Classes

class  GeSimplificationBase
 
class  GeTrngSimplification
 
struct  int3
 
class  OdGeMesh
 
struct  OdGeTr
 
class  OdGeTrMesh
 
struct  VertexPair
 
struct  VertexPairKey
 

Typedefs

typedef std::pair< int, int > intPair
 

Functions

GE_TOOLKIT_EXPORT bool triangulateProfile (const OdGePoint2dArray &vertexSource, const std::vector< OdInt32 > &inFaceData, OdArray< OdInt32 > &vecTriangles, double tol=0)
 
GE_TOOLKIT_EXPORT bool compareMeshes (const OdGeTrMesh &meshTemplate, const OdGeTrMesh &mesh, double tolCoef, bool bDebugOutput)
 

Detailed Description

Corresponding C++ library: TD_BrepRenderer

<group TD_Namespaces>

Typedef Documentation

◆ intPair

typedef std::pair<int, int> GeMesh::intPair

Definition at line 37 of file GeTrMeshSimplification.h.

Function Documentation

◆ compareMeshes()

GE_TOOLKIT_EXPORT bool GeMesh::compareMeshes ( const OdGeTrMesh meshTemplate,
const OdGeTrMesh mesh,
double  tolCoef,
bool  bDebugOutput 
)

◆ triangulateProfile()

GE_TOOLKIT_EXPORT bool GeMesh::triangulateProfile ( const OdGePoint2dArray vertexSource,
const std::vector< OdInt32 > &  inFaceData,
OdArray< OdInt32 > &  vecTriangles,
double  tol = 0 
)

Breaks a given profile to triangles.

Parameters
vertexSource[in] The set of profile vertices.
inFaceData[in] Indices of vertices in the profile.
vecTriangles[out] Indices of vertices for created triangles.
tol[in] Maximum tolerance of the initial vertices.
Returns
true if and only if triangulation was successful.