Merge branch 'master' into MoreBezier
This commit is contained in:
@@ -2571,6 +2571,13 @@ Tree::FindInters( int& nId, const CurveLine& clTrim, const PolyLine& plPolygon,
|
||||
IntersCurveCurve iccRetry( clTrimExtended, *pCC) ;
|
||||
icc = iccRetry ;
|
||||
}
|
||||
if ( icc.GetCrossOrOverlapIntersCount() < 1) {
|
||||
CurveLine clTrimExtended = clTrim ;
|
||||
clTrimExtended.ExtendEndByLen( 5 * EPS_SMALL) ;
|
||||
clTrimExtended.ExtendStartByLen( 5 * EPS_SMALL) ;
|
||||
IntersCurveCurve iccRetry( clTrimExtended, *pCC) ;
|
||||
icc = iccRetry ;
|
||||
}
|
||||
IntCrvCrvInfo iccInfo ;
|
||||
if ( icc.GetOverlaps()) {
|
||||
for ( int i = 0 ; i < icc.GetIntersCount() ; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user