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 a70cf96..3c1ee43 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ