EgtExecutor :
- aggiunta funzione per l'estensione di una superficie in tangenza. - cambiata chiamata alla offset3d.
This commit is contained in:
@@ -2761,15 +2761,9 @@ ExeOffsetCurve3d( int nId, int nSurfId, double dDist, int nType, int* pnCount, d
|
||||
PNT5AXVECTOR vPt5ax ;
|
||||
if ( ! ProjectCurveOnSurf( *pCurve, vpSurf, dLinTol, dMaxSegLen, bSharpEdges, vPt5ax))
|
||||
return GDB_ID_NULL ;
|
||||
PolyLine PL ;
|
||||
VCT3DVECTOR vOffDir ;
|
||||
for ( int i = 0 ; i < ssize( vPt5ax) ; ++i) {
|
||||
PL.AddUPoint( i, vPt5ax[i].ptP) ;
|
||||
vOffDir.push_back( vPt5ax[i].vtDir1) ;
|
||||
}
|
||||
// eseguo l'offset
|
||||
OffsetCurve3d OffsCrv( dLinTol) ;
|
||||
bool bOk = OffsCrv.Make( PL, vOffDir, dDist, nType) ;
|
||||
bool bOk = OffsCrv.Make( vPt5ax, dDist, nType) ;
|
||||
// salvo le curve di offset
|
||||
int nRefId = nId ;
|
||||
int nCount = 0 ;
|
||||
|
||||
Reference in New Issue
Block a user