From fdc85db557a1b651de8d1d5fd249696d770f6f60 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 13 Feb 2019 08:38:02 +0000 Subject: [PATCH] Include : - aggiornamento interfacce Zmap e SurfTm. --- EGkSurfTriMesh.h | 7 +++++-- EGkVolZmap.h | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/EGkSurfTriMesh.h b/EGkSurfTriMesh.h index 8a1dccc..38dea87 100644 --- a/EGkSurfTriMesh.h +++ b/EGkSurfTriMesh.h @@ -1,7 +1,7 @@ //---------------------------------------------------------------------------- -// EgalTech 2014-2014 +// EgalTech 2014-2019 //---------------------------------------------------------------------------- -// File : EgkSurfTriMesh.h Data : 26.03.14 Versione : 1.5c9 +// File : EgkSurfTriMesh.h Data : 12.02.19 Versione : 2.1b2 // Contenuto : Dichiarazione della interfaccia ISurfTriMesh. // // @@ -64,6 +64,9 @@ class __declspec( novtable) ISurfTriMesh : public ISurf virtual bool GetTriangle( int nId, Triangle3d& Tria) const = 0 ; virtual int GetFirstTriangle( Triangle3d& Tria) const = 0 ; virtual int GetNextTriangle( int nId, Triangle3d& Tria) const = 0 ; + virtual bool GetTriangle( int nId, Triangle3dEx& Tria) const = 0 ; + virtual int GetFirstTriangle( Triangle3dEx& Tria) const = 0 ; + virtual int GetNextTriangle( int nId, Triangle3dEx& Tria) const = 0 ; virtual int GetAllTriaAroundVertex( int nV, INTVECTOR& vT, bool& bCirc) const = 0 ; virtual bool GetVertexSmoothNormal( int nV, int nT, Vector3d& vtN) const = 0 ; virtual bool GetTriangleBoundaryEdges( int nId, TriFlags3d& TFlags) const = 0 ; diff --git a/EGkVolZmap.h b/EGkVolZmap.h index 22d7755..3a3fc07 100644 --- a/EGkVolZmap.h +++ b/EGkVolZmap.h @@ -30,12 +30,12 @@ class __declspec( novtable) IVolZmap : public IGeoObj virtual bool Create( const Point3d& ptO, double dDimX, double dDimY, double dDimZ, double dPrec, bool bTriDex) = 0 ; virtual bool CreateFromFlatRegion( const ISurfFlatRegion& Surf, double dDimZ, double dPrec, bool bTriDex) = 0 ; virtual bool CreateFromTriMesh( const ISurfTriMesh& Surf, double dPrec, bool bTriDex) = 0 ; - virtual bool GetAllTriangles( TRIA3DEXLIST& lstTria) const = 0 ; virtual int GetBlockCount( void) const = 0 ; + virtual int GetBlockUpdatingCounter( int nBlock) const = 0 ; + virtual bool GetBlockTriangles( int nBlock, TRIA3DEXVECTOR& vTria) const = 0 ; virtual bool GetVolume( double& dVol) const = 0 ; virtual int GetPartCount( void) const = 0 ; virtual bool GetPartVolume( int nPart, double& dVol) const = 0 ; - virtual bool GetTriangles( bool bAllBlocks, INTVECTOR& nModifiedBlocks, TRIA3DEXLISTVECTOR& vLstTria) const = 0 ; virtual bool GetDexelLines( int nDir, int nPos1, int nPos2, POLYLINELIST& lstPL) const = 0 ; virtual bool SetTolerances( double dLinTol, double dAngTolDeg = 90) = 0 ; virtual bool SetStdTool( const std::string& sToolName, double dH, double dR, double dCornR, int nFlag) = 0 ;