From 65bca1227f5f70a4806edb688efdedf7f859d2b9 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 12 Nov 2019 07:45:40 +0000 Subject: [PATCH] EgtInterface 2.1k2 : - aggiunto prototipo EgtSurfTmSurfTmInters. --- API_GeoInters.cpp | 13 ++++++++++++- EgtInterface.rc | Bin 11726 -> 11726 bytes 2 files changed, 12 insertions(+), 1 deletion(-) 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 2e2bb93f6aa38acd477032a8f7f4810cddfb1a2d..6b32ba61652dd6777b3cb3ab8ec6011a78165464 100644 GIT binary patch delta 113 zcmX>XeJ*;#A2vp#%@4(HGEKh5na5}}`6H+9WG^L)&3#f*jGK>e8!&^VPclv3Cs+lM i-t491#khHcFjUGNr~*ls7YjlI&*XKAP&0v=TDSp?WhmtU delta 97 zcmX>XeJ*;#A2vqA%@4(HGEKh5nK!veL}IgpR0iYbBisheV2P7VllKW$fh7WjCa{3T d+?k;YXF&L1H9V8oDMAbg5K3U&JVn`x3jjYGBaZ+8