internal static bool IntersectionOnBothLines(Line2i l, Line2i l2) { Line2 lb = new Line2(l); Line2 l2b = new Line2(l2); return(Line2.IntersectionOnBothLines(lb, l2b)); }
internal static bool IntersectionOnBothLines(Line2i l, Line2i l2, out Vec2i intersectionPoint) { Line2 lb = new Line2(l); Line2 l2b = new Line2(l2); return(Line2.IntersectionOnBothLines(lb, l2b, out intersectionPoint)); }
public Line2i(Line2i l) { this.p1 = new Vec2i(l.P1); this.p2 = new Vec2i(l.P2); }