diff --git a/EGkSurfTriMesh.h b/EGkSurfTriMesh.h index 24a8021..2ff3a36 100644 --- a/EGkSurfTriMesh.h +++ b/EGkSurfTriMesh.h @@ -90,6 +90,7 @@ class __declspec( novtable) ISurfTriMesh : public ISurf virtual bool GetFacetNormal( int nF, Vector3d& vtN) const = 0 ; 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 bool RemoveFacet( int nF) = 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 ; diff --git a/EInAPI.h b/EInAPI.h index ad47c63..e630882 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -452,6 +452,7 @@ EIN_EXPORT BOOL __stdcall EgtSurfFrAdd( int nId1, int nId2) ; EIN_EXPORT BOOL __stdcall EgtSurfFrSubtract( int nId1, int nId2) ; EIN_EXPORT BOOL __stdcall EgtSurfFrIntersect( int nId1, int nId2) ; EIN_EXPORT BOOL __stdcall EgtSurfFrOffset( int nId, double dDist, int nType) ; +EIN_EXPORT BOOL __stdcall EgtSurfTmRemoveFacet( int nId, int nFacet) ; EIN_EXPORT BOOL __stdcall EgtSurfTmAdd( int nId1, int nId2) ; EIN_EXPORT BOOL __stdcall EgtSurfTmSubtract( int nId1, int nId2) ; EIN_EXPORT BOOL __stdcall EgtSurfTmIntersect( int nId1, int nId2) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 3ffcee6..003c8dd 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -500,7 +500,9 @@ EXE_EXPORT bool ExeSurfFrIntersect( int nId1, int nId2) ; EXE_EXPORT bool ExeSurfFrOffset( int nId, double dDist, int nType) ; EXE_EXPORT bool ExeSurfFrMoveSimpleNoCollision( int nId1, int nId2, const Vector3d& vtDir, double& dLen, int nRefType) ; EXE_EXPORT bool ExeSurfFrRotateSimpleNoCollision( int nId1, int nId2, const Point3d& ptCen, double& dAngDeg, int nRefType) ; +EXE_EXPORT bool ExeSurfTmRemoveFacet( int nId, int nFacet) ; EXE_EXPORT bool ExeSurfTmSwapFacets( int nId, int nFacet1, int nFacet2) ; +EXE_EXPORT bool ExeSurfTmRemovePart( int nId, int nPart) ; 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) ; EXE_EXPORT bool ExeSurfTmAdd( int nId1, int nId2) ;