hasBadIntersection method

bool hasBadIntersection(
  1. TaggedLineString parentLine,
  2. List<int> sectionIndex,
  3. 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;
}