crossed method

bool crossed(
  1. LineSegment otherSegment
)

Implementation

bool crossed(LineSegment otherSegment) {
  return intersections(otherSegment).isNotEmpty;
}