hasBadIntersection method
bool
hasBadIntersection(
- TaggedLineString parentLine,
- List<
int> sectionIndex, - LineSegment candidateSeg
Implementation
bool hasBadIntersection(TaggedLineString parentLine, List<int> sectionIndex,
LineSegment candidateSeg) {
if (hasBadOutputIntersection(candidateSeg)) return true;
if (hasBadInputIntersection(parentLine, sectionIndex, candidateSeg))
return true;
return false;
}