Esempio n. 1
0
        internal static bool IntersectionOnBothLines(Line2i l, Line2i l2)
        {
            Line2 lb  = new Line2(l);
            Line2 l2b = new Line2(l2);

            return(Line2.IntersectionOnBothLines(lb, l2b));
        }
Esempio n. 2
0
        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));
        }
Esempio n. 3
0
 public Line2i(Line2i l)
 {
     this.p1 = new Vec2i(l.P1); this.p2 = new Vec2i(l.P2);
 }