Пример #1
0
 public static bool IsSegmentsProperIntersection(DirectedSegment2 s1, DirectedSegment2 s2)
 {
     return(IsSegmentsProperIntersection(s1.P1, s1.P2, s2.P1, s2.P2));
 }
Пример #2
0
 public double DistanceTo(DirectedSegment2 segment)
 {
     return(DistanceToSegment(segment.P1, segment.P2));
 }
Пример #3
0
 private DirectedSegment2(DirectedSegment2 ds)
 {
     P1 = ds.P1;
     P2 = ds.P2;
 }