isInteriorIntersection method

bool isInteriorIntersection()

Tests whether either intersection point is an interior point of one of the input segments.

@return true if either intersection point is in the interior of one of the input segments

Implementation

bool isInteriorIntersection() {
  if (isInteriorIntersectionWithIndex(0)) return true;
  if (isInteriorIntersectionWithIndex(1)) return true;
  return false;
}