EgtExecutor :
- modifiche per CAvTool.
This commit is contained in:
+2
-4
@@ -121,9 +121,8 @@ ExeCAvToolPosStm( const Point3d& ptP, const Vector3d& vtAx, int nSurfTmId, const
|
||||
Vector3d vtMoveL = GetVectorLocal( pGeomDB, vtMove, nRefType, frSurf) ;
|
||||
// imposto dati
|
||||
s_pCAvTlStm->SetSurfTm( *pStm) ;
|
||||
s_pCAvTlStm->SetMoveDir( vtMoveL) ;
|
||||
double dMove ;
|
||||
if ( ! s_pCAvTlStm->TestPosition( ptPL, vtAxL, dMove))
|
||||
if ( ! s_pCAvTlStm->TestPosition( ptPL, vtAxL, vtMoveL, dMove))
|
||||
return -1 ;
|
||||
return dMove ;
|
||||
}
|
||||
@@ -170,9 +169,8 @@ ExeCAvToolPathStm( int nCrvId, const Vector3d& vtAx, int nSurfTmId, const Vector
|
||||
Vector3d vtMoveL = GetVectorLocal( pGeomDB, vtMove, nRefType, frSurf) ;
|
||||
// imposto dati
|
||||
s_pCAvTlStm->SetSurfTm( *pStm) ;
|
||||
s_pCAvTlStm->SetMoveDir( vtMoveL) ;
|
||||
// eseguo CAv
|
||||
if ( ! s_pCAvTlStm->TestPath( PL.GetUPointList(), vtAxL, dLinTol))
|
||||
if ( ! s_pCAvTlStm->TestPath( PL.GetUPointList(), vtAxL, vtMoveL, dLinTol))
|
||||
return false ;
|
||||
// riporto la polilinea nel riferimento della curva
|
||||
PL.LocToLoc( frSurf, frCrv) ;
|
||||
|
||||
Reference in New Issue
Block a user