CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef OD_GETRSIMPLIFICATION_H
25 #define OD_GETRSIMPLIFICATION_H
56 OdGeTr() : tagFace(-1) { nb.set(-1); tagEdge.set(-1); }
160 virtual bool computeQ(
int iVt);
161 bool isEdgeValid(
int t,
int v);
162 bool checkEdge(
int t,
int v);
163 bool checkOverlap(
int v1,
int v2);
166 void removeGarbage();
168 bool checkVxToTr(
int iVt);
183 #endif // OD_GETRSIMPLIFICATION_H
std::set< VertexPairKey > m_pairMap
bool walkNextTr(int &iTr, int &w, bool dir) const
OdArray< OdArray< intPair > > m_vxToTr
OdArray< OdArray< int > > m_vxToPair
void replace(int a, int b)
GLfloat GLfloat GLfloat v2
void computeErrorOnPair(int iPair)
virtual bool computeQ(int iVt)=0
void algo(double simpPercent)
void replaceNb(int nbOld, int nbNew)
VertexPairKey(double cost, int ind)
GLfloat GLfloat GLfloat GLfloat w
virtual int checkMeshMismatch(const OdGeMesh &mesh, OdGePoint3dArray &aPtMismatch, double tol) const =0
OdArray< VertexPair > m_pair
void reset(OdGePoint3dArray &vx)
int operator[](unsigned int i) const
OdGeExtents3d getExtents() const
OdGeVector3d vxNormal(int v) const
void reset(OdGeTrMesh &trng)
OdGeVector3d trNormal(int t, double *area=NULL) const
virtual int checkMeshMismatch(const OdGeMesh &mesh, OdGePoint3dArray &aPtMismatch, double tol) const
GE_TOOLKIT_EXPORT bool triangulateProfile(const OdGePoint2dArray &vertexSource, const std::vector< OdInt32 > &inFaceData, OdArray< OdInt32 > &vecTriangles)
std::pair< int, int > intPair
virtual double distanceTo(const OdGePoint3d &pt, OdGePoint3d &ptClosest, bool bPrecise) const =0
OdArray< OdGeMatrix3d > m_Q
#define GE_TOOLKIT_EXPORT
bool equal(VertexPair &pair)
int getCoEdge(int t, int e) const
void removeDegenerateTriangles(double tol)
bool walkAroundVertex(int &iTr, int &w, int3 &aux) const
virtual double distanceTo(const OdGePoint3d &pt, OdGePoint3d &ptClosest, bool bPrecise) const