diff --git a/API_GdbModifySurf.cpp b/API_GdbModifySurf.cpp index 06663d5..6a3702c 100644 --- a/API_GdbModifySurf.cpp +++ b/API_GdbModifySurf.cpp @@ -35,6 +35,13 @@ __stdcall EgtExplodeSurface( int nId, int* pnCount) return ExeExplodeSurface( nId, pnCount) ; } +//------------------------------------------------------------------------------- +BOOL +__stdcall EgtApproxSurface( int nId, double dLinTol) +{ + return ( ExeApproxSurface( nId, dLinTol) ? TRUE : FALSE) ; +} + //---------------------------------------------------------------------------- BOOL __stdcall EgtSurfFrAdd( int nId1, int nId2) @@ -63,6 +70,13 @@ __stdcall EgtSurfFrOffset( int nId, double dDist, int nType) return ( ExeSurfFrOffset( nId, dDist, nType) ? TRUE : FALSE) ; } +//---------------------------------------------------------------------------- +int +__stdcall EgtSurfTmToTriangles( int nId, int* pnCount) +{ + return ExeSurfTmToTriangles( nId, pnCount) ; +} + //---------------------------------------------------------------------------- BOOL __stdcall EgtSurfTmRemoveFacet( int nId, int nFacet) diff --git a/EgtInterface.rc b/EgtInterface.rc index bf0a6a3..31ea852 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ