public static bool IsSegmentsProperIntersection(DirectedSegment2 s1, DirectedSegment2 s2) { return(IsSegmentsProperIntersection(s1.P1, s1.P2, s2.P1, s2.P2)); }
public double DistanceTo(DirectedSegment2 segment) { return(DistanceToSegment(segment.P1, segment.P2)); }
private DirectedSegment2(DirectedSegment2 ds) { P1 = ds.P1; P2 = ds.P2; }