EgtGeomKernel 1.5e1 :
- in TriMesh migliorato lo smooth delle normali - in TriMesh aggiunta generazione per rivoluzione - migliorati gestione e aggiornamento materiali.
This commit is contained in:
+7
-1
@@ -97,6 +97,8 @@ class SurfTriMesh : public ISurfTriMesh, public IGeoObjRW
|
||||
virtual bool AdjustTopology( void) ;
|
||||
virtual bool CreateByTriangulation( const PolyLine& PL) ;
|
||||
virtual bool CreateByExtrusion( const PolyLine& PL, const Vector3d& vtExtr) ;
|
||||
virtual bool CreateByRevolution( const PolyLine& PL, const Point3d& ptAx, const Vector3d& vtAx,
|
||||
double dAngRot, double dStepRot) ;
|
||||
virtual int GetVertexNum( void) const
|
||||
{ return int( m_vVert.size()) ; }
|
||||
virtual int GetTriangleNum( void) const
|
||||
@@ -134,8 +136,12 @@ class SurfTriMesh : public ISurfTriMesh, public IGeoObjRW
|
||||
int Prev( int i) const
|
||||
{ return (( i + 2) % 3) ; }
|
||||
bool FindVertexInTria( int nV, int nT, int& nK) const ;
|
||||
int GetAllTriaAroundVertex( int nV, INTVECTOR& vT) const ;
|
||||
int GetAllTriaAroundVertex( int nV, INTVECTOR& vT, bool& bCirc) const ;
|
||||
int NextIndAroundVertex( int nInd, int nSize, bool bCirc) const ;
|
||||
int PrevIndAroundVertex( int nInd, int nSize, bool bCirc) const ;
|
||||
bool GetTriangleSmoothNormal( int nT, int nV, Vector3d& vtN) const ;
|
||||
bool VeryfyPolylineForRevolution( const PolyLine& PL, const Point3d& ptAx, const Vector3d& vtAx) const ;
|
||||
bool AddBiTriangle( const int nIdVert[4]) ;
|
||||
|
||||
private :
|
||||
enum Status { ERR = 0, OK = 1, TO_VERIFY = 2} ;
|
||||
|
||||
Reference in New Issue
Block a user