From db790fc5b589304d2b3821f3c93572306cfb2513 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 1 Oct 2018 07:29:13 +0000 Subject: [PATCH] EgtInterface 1.9i4 : - aggiunti parametri di ritorno a EgtSurfTmFacetOppositeSide. --- API_GeoSnap.cpp | 10 +++++++--- EgtInterface.rc | Bin 11718 -> 11718 bytes 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/API_GeoSnap.cpp b/API_GeoSnap.cpp index 9bad4c8..4d1e666 100644 --- a/API_GeoSnap.cpp +++ b/API_GeoSnap.cpp @@ -506,18 +506,22 @@ __stdcall EgtSurfTmFacetNormVersor( int nId, int nFacet, int nRefId, double vtNo //---------------------------------------------------------------------------- BOOL -__stdcall EgtSurfTmFacetOppositeSide( int nId, int nFacet, const double vtDir[3], int nRefId, double ptP1[3], double ptP2[3]) +__stdcall EgtSurfTmFacetOppositeSide( int nId, int nFacet, const double vtDir[3], int nRefId, + double ptP1[3], double ptP2[3], double vtIn1[3], double vtOut2[3]) { // verifica parametri - if ( vtDir == nullptr || ptP1 == nullptr || ptP2 == nullptr) + if ( vtDir == nullptr || ptP1 == nullptr || ptP2 == nullptr || vtIn1 == nullptr || vtOut2 == nullptr) return FALSE ; // recupero gli estremi del lato opposto Point3d ptMyP1, ptMyP2 ; - if ( ! ExeSurfTmFacetOppositeSide( nId, nFacet, vtDir, nRefId, ptMyP1, ptMyP2)) + Vector3d vtMyIn1, vtMyOut2 ; + if ( ! ExeSurfTmFacetOppositeSide( nId, nFacet, vtDir, nRefId, ptMyP1, ptMyP2, vtMyIn1, vtMyOut2)) return FALSE ; // assegno risultati VEC_FROM_3D( ptP1, ptMyP1) VEC_FROM_3D( ptP2, ptMyP2) + VEC_FROM_3D( vtIn1, vtMyIn1) + VEC_FROM_3D( vtOut2, vtMyOut2) return TRUE ; } diff --git a/EgtInterface.rc b/EgtInterface.rc index a70cf96356637685a380600ccee8b37230aa7842..3c1ee4368c948320db05da2f95ec0c257675f805 100644 GIT binary patch delta 111 zcmX>WeJpyzFE&P#%^&$rGEF|hS;uHH`Jtfh<^rw;7OzIAO+TQQ4Xt~E@c}o07@$;z5oCK delta 111 zcmX>WeJpyzFE&P_%^&$rGEF|hS;uHJ`Jtfh<^rw;7OzIAO+TQQ4Xt~E@c}o07g?Nt^fc4