diff --git a/API_GeoInters.cpp b/API_GeoInters.cpp index 08ef8f5..226d0a8 100644 --- a/API_GeoInters.cpp +++ b/API_GeoInters.cpp @@ -21,7 +21,8 @@ using namespace std ; //---------------------------------------------------------------------------- BOOL -__stdcall EgtLineSurfTmInters( const double ptP[3], const double vtDir[3], int nId, int nRefType, int*& vFlagInters, double*& vParInters, int* pnCount) +__stdcall EgtLineSurfTmInters( const double ptP[3], const double vtDir[3], int nId, int nRefType, + int*& vFlagInters, double*& vParInters, int* pnCount) { // verifica parametri if ( ptP == nullptr || vtDir == nullptr || &vFlagInters == nullptr || &vParInters == nullptr || pnCount == nullptr) @@ -53,3 +54,13 @@ __stdcall EgtLineSurfTmInters( const double ptP[3], const double vtDir[3], int n *pnCount = nDim ; return TRUE ; } + +//---------------------------------------------------------------------------- +int +__stdcall EgtSurfTmSurfTmInters( int nId1, int nId2, int nDestGrpId, + int* pnPntCount, int* pnCrvCount, int* pnSrfCount) +{ + if ( pnPntCount == nullptr || pnCrvCount == nullptr || pnSrfCount == nullptr) + return FALSE ; + return ExeSurfTmSurfTmInters( nId1, nId2, nDestGrpId, pnPntCount, pnCrvCount, pnSrfCount) ; +} diff --git a/EgtInterface.rc b/EgtInterface.rc index 2e2bb93..6b32ba6 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ