public static bool isIntersection(Line line1, Line line2) { return isIntersection(line1.p0, line1.p1, line2.p0, line2.p1); }
public static Vector2 ClosestPointOnSegment(Line line, Vector2 point) { return ClosestPointOnSegment(line.p0, line.p1, point); }