From 846196e36d6952cfd3aabedcbc5efe9d1ac9a4a2 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 30 Sep 2019 09:23:59 +0000 Subject: [PATCH] Include : - aggiornamento prototipi. --- EGkSurfTriMesh.h | 3 +++ EXeExecutor.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/EGkSurfTriMesh.h b/EGkSurfTriMesh.h index a10569c..e202b4e 100644 --- a/EGkSurfTriMesh.h +++ b/EGkSurfTriMesh.h @@ -90,6 +90,9 @@ class __declspec( novtable) ISurfTriMesh : public ISurf virtual bool GetFacetArea( int nF, double& dArea) const = 0 ; virtual bool GetFacetsContact( int nF1, int nF2, bool& bAdjac, Point3d& ptP1, Point3d& ptP2, double& dAng) const = 0 ; virtual ISurfTriMesh* CloneFacet( int nF) const = 0 ; + virtual bool SwapFacets( int nF1, int nF2) = 0 ; + virtual bool GetFacetLocalBBox( int nF, BBox3d& b3Loc, int nFlag = BBF_STANDARD) const = 0 ; + virtual bool GetFacetBBox( int nF, const Frame3d& frRef, BBox3d& b3Ref, int nFlag = BBF_STANDARD) const = 0 ; virtual bool Cut( const Plane3d& plPlane, bool bSaveOnEq) = 0 ; virtual bool GeneralizedCut( const ICurve& cvCurve, bool bSaveOnEq) = 0 ; virtual bool GetAllTriaOverlapBox( const BBox3d& b3Box, INTVECTOR& vT) const = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 8a54fc4..850295c 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -494,6 +494,9 @@ EXE_EXPORT int ExeExtractSurfTmLoops( int nId, int nDestGrpId, int* pnCount) ; EXE_EXPORT int ExeGetSurfTmSilhouette( int nId, const Vector3d& vtDir, int nDestGrpId, int nRefType, int* pnCount) ; EXE_EXPORT int ExeExtractSurfTmFacetLoops( int nId, int nFacet, int nDestGrpId, int* pnCount) ; EXE_EXPORT int ExeCopySurfTmFacet( int nId, int nFacet, int nDestGrpId) ; +EXE_EXPORT bool ExeSurfTmGetFacetBBox( int nId, int nFacet, int nFlag, BBox3d& b3Box) ; +EXE_EXPORT bool ExeSurfTmGetFacetBBoxGlob( int nId, int nFacet, int nFlag, BBox3d& b3Box) ; +EXE_EXPORT int ExeSurfTmSwapFacets( int nId, int nFacet1, int nFacet2) ; EXE_EXPORT bool ExeCutSurfTmPlane( int nId, const Point3d& ptOn, const Vector3d& vtN, bool bSaveOnEq, int nRefType) ; EXE_EXPORT bool ExeCutSurfTmClosedCurve( int nSurfId, int nCurveId, bool bSaveOnEq) ;