hasIntersection method

bool hasIntersection()

Tests whether the input geometries intersect.

@return true if the input geometries intersect

Implementation

bool hasIntersection() {
  return result != NO_INTERSECTION;
}