Пример #1
0
 public static LineX Intersect(Line2 A, Line2 B, ref double t0, ref double t1)
 {
     return(Line2.Intersect(A.Ax, A.Ay, A.Bx, A.By, B.Ax, B.Ay, B.Bx, B.By, ref t0, ref t1));
 }
Пример #2
0
 public Line2(Line2 other)
 {
     this.Set(other);
 }
Пример #3
0
 public static Side2 Side(Line2 edge, Node2 pt)
 {
     return(Line2.Side(edge.Ax, edge.Ay, edge.Bx, edge.By, pt.x, pt.y));
 }