Include :
- aggiunte coordinate U e V ai vertici delle TriMesh.
This commit is contained in:
@@ -35,13 +35,15 @@ class StmFromTriangleSoup
|
||||
EGK_EXPORT ~StmFromTriangleSoup( void) ;
|
||||
EGK_EXPORT bool Start( int nBuckets = GRID_STD_BUCKETS) ;
|
||||
EGK_EXPORT bool AddTriangle( const Triangle3d& Tria) ;
|
||||
EGK_EXPORT bool AddTriangle( const Point3d& ptP0, const Point3d& ptP1, const Point3d& ptP2) ;
|
||||
EGK_EXPORT bool AddTriangle( const Point3d& ptP0, const Point3d& ptP1, const Point3d& ptP2,
|
||||
const double dU0 = -1, const double dV0 = -1, const double dU1 = -1, const double dV1 = -1,
|
||||
const double dU2 = -1, const double dV2 = -1) ;
|
||||
EGK_EXPORT bool AddSurfTriMesh( const ISurfTriMesh& stmSource) ;
|
||||
EGK_EXPORT bool End( void) ;
|
||||
EGK_EXPORT ISurfTriMesh* GetSurf( void) ;
|
||||
|
||||
private :
|
||||
inline int AddVertex( const Point3d& ptP) ;
|
||||
inline int AddVertex( const Point3d& ptP, const double dU = -1, const double dV = -1) ;
|
||||
|
||||
private :
|
||||
ISurfTriMesh* m_pSTM ;
|
||||
|
||||
+4
-1
@@ -43,7 +43,7 @@ class __declspec( novtable) ISurfTriMesh : public ISurf
|
||||
virtual void SetLinearTolerance( double dLinTol) = 0 ;
|
||||
virtual void SetBoundaryAngle( double dBoundaryAngDeg) = 0 ;
|
||||
virtual void SetSmoothAngle( double dSmoothAngDeg) = 0 ;
|
||||
virtual int AddVertex( const Point3d& ptVert) = 0 ;
|
||||
virtual int AddVertex( const Point3d& ptVert, const double dU = -1, const double dV = -1) = 0 ;
|
||||
virtual bool MoveVertex( int nInd, const Point3d& ptNewVert) = 0 ;
|
||||
virtual int AddTriangle( const int nIdVert[3], int nTFlag = 0) = 0 ;
|
||||
virtual bool RemoveTriangle( int nId) = 0 ;
|
||||
@@ -68,8 +68,11 @@ class __declspec( novtable) ISurfTriMesh : public ISurf
|
||||
virtual double GetLinearTolerance( void) const = 0 ;
|
||||
virtual double GetSmoothAngle( void) const = 0 ;
|
||||
virtual bool GetVertex( int nId, Point3d& ptP) const = 0 ;
|
||||
virtual bool GetVertexParam( int nId, double& dU, double& dV) const = 0 ;
|
||||
virtual int GetFirstVertex( Point3d& ptP) const = 0 ;
|
||||
virtual int GetFirstVertexParam( int nId, double& dU, double& dV) const = 0 ;
|
||||
virtual int GetNextVertex( int nId, Point3d& ptP) const = 0 ;
|
||||
virtual int GetNextVertexParam( int nId, double& dU, double& dV) const = 0 ;
|
||||
virtual bool GetTriangle( int nId, int nIdVert[3]) const = 0 ;
|
||||
virtual int GetFirstTriangle( int nIdVert[3]) const = 0 ;
|
||||
virtual int GetNextTriangle( int nId, int nIdVert[3]) const = 0 ;
|
||||
|
||||
Reference in New Issue
Block a user