diff --git a/EXE_GdbModifyCurve.cpp b/EXE_GdbModifyCurve.cpp index 89785c5..777a267 100644 --- a/EXE_GdbModifyCurve.cpp +++ b/EXE_GdbModifyCurve.cpp @@ -202,7 +202,7 @@ ExeProjectCurveOnPlane( int nId, const Point3d& ptOn, const Vector3d& vtN, int n Vector3d vtNL = GetVectorLocal( pGeomDB, vtN, nRefType, frLoc) ; // calcolo il piano di proiezione Plane3d plPlane ; - bOk = bOk && SetPlane( ptOnL, vtNL, plPlane) ; + bOk = bOk && plPlane.Set( ptOnL, vtNL) ; // eseguo la proiezione PtrOwner pProCrv( bOk ? ProjectCurveOnPlane( *pCurve, plPlane) : nullptr) ; bOk = bOk && ! IsNull( pProCrv) ; diff --git a/EXE_GdbModifySurf.cpp b/EXE_GdbModifySurf.cpp index 29bdae7..da2ab10 100644 --- a/EXE_GdbModifySurf.cpp +++ b/EXE_GdbModifySurf.cpp @@ -617,7 +617,7 @@ ExeCutSurfTm( int nId, const Point3d& ptOn, const Vector3d& vtN, bool bSaveOnEq, Vector3d vtNL = GetVectorLocal( pGeomDB, vtN, nRefType, frLoc) ; // calcolo il piano di taglio Plane3d plPlane ; - bOk = bOk && SetPlane( ptOnL, vtNL, plPlane) ; + bOk = bOk && plPlane.Set( ptOnL, vtNL) ; // eseguo il taglio bOk = bOk && pStm->Cut( plPlane, bSaveOnEq) ; ExeSetModified() ; diff --git a/EgtExecutor.rc b/EgtExecutor.rc index dcc2912..c48806b 100644 Binary files a/EgtExecutor.rc and b/EgtExecutor.rc differ diff --git a/LUA_GeoSnap.cpp b/LUA_GeoSnap.cpp index 8961821..8cd258a 100644 --- a/LUA_GeoSnap.cpp +++ b/LUA_GeoSnap.cpp @@ -343,8 +343,8 @@ LuaCurveIsFlat( lua_State* L) Plane3d Plane ; bool bFlat = ExeCurveIsFlat( nId, Plane) ; LuaSetParam( L, bFlat) ; - LuaSetParam( L, Plane.vtN) ; - LuaSetParam( L, Plane.dDist) ; + LuaSetParam( L, Plane.GetVersN()) ; + LuaSetParam( L, Plane.GetDist()) ; return 3 ; } @@ -377,8 +377,8 @@ LuaCurveArea( lua_State* L) Plane3d Plane ; double dArea ; if ( ExeCurveArea( nId, Plane, dArea)) { - LuaSetParam( L, Plane.vtN) ; - LuaSetParam( L, Plane.dDist) ; + LuaSetParam( L, Plane.GetVersN()) ; + LuaSetParam( L, Plane.GetDist()) ; LuaSetParam( L, dArea) ; return 3 ; }