diff --git a/IntersCurvePlane.cpp b/IntersCurvePlane.cpp index 8ca95fb..2031344 100644 --- a/IntersCurvePlane.cpp +++ b/IntersCurvePlane.cpp @@ -139,8 +139,6 @@ IntersCurvePlane::CalcIntersLinePlane( const Plane3d& plPlane, const ICurve& Cur void IntersCurvePlane::OrderAndCompleteIntersections() { - if ( m_Info.size() < 2) - return ; // cancello le interesezioni puntuali adiacenti a tratti di sovrapposizione // riempio le info PrevTy e NexyTy sort( m_Info.begin(), m_Info.end(), []( IntCrvPlnInfo& icpA, IntCrvPlnInfo& icpB) { return icpA.Ici[0].dU < icpA.Ici[0].dU ;}) ;