From 2007e61ae2aa25c062cde5765140606d4582dd3b Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 27 Apr 2015 08:27:46 +0000 Subject: [PATCH] Include : - aggiornamento prototipi. --- EGkSurfTriMesh.h | 1 + EInAPI.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/EGkSurfTriMesh.h b/EGkSurfTriMesh.h index 5c2269c..9bbb854 100644 --- a/EGkSurfTriMesh.h +++ b/EGkSurfTriMesh.h @@ -72,6 +72,7 @@ class __declspec( novtable) ISurfTriMesh : public ISurf virtual bool GetFacetNearestMidPoint( int nF, const Point3d& ptNear, Point3d& ptMid, Vector3d& vtN) const = 0 ; virtual bool GetFacetCenter( int nF, Point3d& ptCen, Vector3d& vtN) const = 0 ; virtual bool GetFacetNormal( int nF, Vector3d& vtN) const = 0 ; + virtual ISurfTriMesh* CloneFacet( int nF) const = 0 ; } ; //----------------------------------------------------------------------------- diff --git a/EInAPI.h b/EInAPI.h index 52317d3..7242187 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -322,11 +322,13 @@ EIN_EXPORT BOOL __stdcall EgtModifyCurveArcRadius( int nId, double dRad) ; EIN_EXPORT BOOL __stdcall EgtModifyCurveArcC2PN( int nId, const double ptEnd[3], int nRefType) ; EIN_EXPORT BOOL __stdcall EgtModifyCurveArc3P( int nId, const double ptMid[3], int nRefType) ; EIN_EXPORT int __stdcall EgtExplodeCurveCompo( int nId, int* pnCount) ; -EIN_EXPORT int __stdcall EgtExplodeCurveBezier( int nId, BOOL bArcsVsLines, double dLinTol) ; +EIN_EXPORT int __stdcall EgtApproxCurveArc( int nId, double dLinTol) ; +EIN_EXPORT int __stdcall EgtApproxCurveBezier( int nId, BOOL bArcsVsLines, double dLinTol) ; // GeomDb Surf Modify EIN_EXPORT BOOL __stdcall EgtInvertSurface( int nId) ; EIN_EXPORT int __stdcall EgtExtractSurfTmFacetLoops( int nId, int nFacet, int nDestGrpId, int* pnCount) ; +EIN_EXPORT int __stdcall EgtExplodeSurfTm( int nId, int* pnCount) ; // Geo Snap Vector/Point/Frame EIN_EXPORT BOOL __stdcall EgtStartPoint( int nId, int nRefId, double ptP[3]) ;