EgtExecutor :
- piccola miglioria a cancatenamento curve in ExePlaneSurfTmInters e in ExeSurfTmSurfTmInters.
This commit is contained in:
+4
-2
@@ -454,7 +454,8 @@ MyPlaneSurfTmInters( const Point3d& ptOn, const Vector3d& vtN, int nId, int nDes
|
||||
Point3d ptStart = ( bAdded ? vBpt[nInd].first : ptNear) ;
|
||||
Point3d ptEnd = vBpt[nInd].second ;
|
||||
// provo ad accodarlo alla composita
|
||||
bAdded = ( pLine->Set( ptStart, ptEnd) &&
|
||||
bAdded = ( Dist( ptStart, ptEnd) > dToler / 2 &&
|
||||
pLine->Set( ptStart, ptEnd) &&
|
||||
pCrvCompo->AddCurve( Release( pLine), true, dToler)) ;
|
||||
ptNear = ( bAdded ? ptEnd : ptStart) ;
|
||||
}
|
||||
@@ -589,7 +590,8 @@ MyChainCurvesForSurfSurfInters( const BIPNTVECTOR& vBpt, IGeomDB* pGeomDB, int n
|
||||
Point3d ptStart = ( bAdded ? vBpt[nInd].first : ptNear) ;
|
||||
Point3d ptEnd = vBpt[nInd].second ;
|
||||
// provo ad accodarlo alla composita
|
||||
bAdded = ( pLine->Set( ptStart, ptEnd) &&
|
||||
bAdded = ( Dist( ptStart, ptEnd) > dToler / 2 &&
|
||||
pLine->Set( ptStart, ptEnd) &&
|
||||
pCrvCompo->AddCurve( Release( pLine), true, dToler)) ;
|
||||
ptNear = ( bAdded ? ptEnd : ptStart) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user