EgtGeomKernel :
- inizio modifica al calcolo di tagli multipli ad una superficie di Bezier.
This commit is contained in:
@@ -3685,13 +3685,13 @@ Tree::AddCutsToRoot( POLYLINEVECTOR& vCuts)
|
||||
IntersCurveCurve icc2( *pCL, *pCL2) ;
|
||||
IntersCurveCurve icc3( *pCL, *pCL3) ;
|
||||
IntCrvCrvInfo iccInfo ;
|
||||
if (icc0.GetCrossIntersCount() != 0)
|
||||
if (icc0.GetIntersCount() != 0)
|
||||
icc0.GetIntCrvCrvInfo( 0, iccInfo) ;
|
||||
else if (icc1.GetCrossIntersCount() != 0)
|
||||
else if (icc1.GetIntersCount() != 0)
|
||||
icc1.GetIntCrvCrvInfo( 0, iccInfo) ;
|
||||
else if (icc2.GetCrossIntersCount() != 0)
|
||||
else if (icc2.GetIntersCount() != 0)
|
||||
icc2.GetIntCrvCrvInfo( 0, iccInfo) ;
|
||||
else if (icc3.GetCrossIntersCount() != 0)
|
||||
else if (icc3.GetIntersCount() != 0)
|
||||
icc3.GetIntCrvCrvInfo( 0, iccInfo) ;
|
||||
pt = iccInfo.IciA[0].ptI ;
|
||||
if ( ! OnWhichEdge(nRoot, pt, nEdgeIn))
|
||||
@@ -3718,13 +3718,13 @@ Tree::AddCutsToRoot( POLYLINEVECTOR& vCuts)
|
||||
IntersCurveCurve icc2( *pCL, *pCL2) ;
|
||||
IntersCurveCurve icc3( *pCL, *pCL3) ;
|
||||
IntCrvCrvInfo iccInfo ;
|
||||
if (icc0.GetCrossIntersCount() != 0)
|
||||
if (icc0.GetIntersCount() != 0)
|
||||
icc0.GetIntCrvCrvInfo( 0, iccInfo) ;
|
||||
else if (icc1.GetCrossIntersCount() != 0)
|
||||
else if (icc1.GetIntersCount() != 0)
|
||||
icc1.GetIntCrvCrvInfo( 0, iccInfo) ;
|
||||
else if (icc2.GetCrossIntersCount() != 0)
|
||||
else if (icc2.GetIntersCount() != 0)
|
||||
icc2.GetIntCrvCrvInfo( 0, iccInfo) ;
|
||||
else if (icc3.GetCrossIntersCount() != 0)
|
||||
else if (icc3.GetIntersCount() != 0)
|
||||
icc3.GetIntCrvCrvInfo( 0, iccInfo) ;
|
||||
pt = iccInfo.IciA[0].ptI ;
|
||||
vInters.pop_back() ;
|
||||
|
||||
Reference in New Issue
Block a user