intersect method

bool intersect(
  1. Line other
)

Check if this line and other line intersect

Implementation

bool intersect(Line other) {
  final point = getIntersectPoint(other);
  return point != null;
}