intersects method

bool intersects()

Reports whether any segment intersection exists.

@return true if a segment intersection exists or false if no segment intersection exists

Implementation

bool intersects() {
  return hasIntersection;
}