EgtInterface 2.1k2 :

- aggiunto prototipo EgtSurfTmSurfTmInters.
This commit is contained in:
Dario Sassi
2019-11-12 07:45:40 +00:00
parent d2391b8ac5
commit 65bca1227f
2 changed files with 12 additions and 1 deletions
+12 -1
View File
@@ -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) ;
}