public Line(MyPoint p1, MyPoint p2) { P1 = p1; P2 = p2; Current = false; }
public bool EqualTo(MyPoint p) { return(p.X == X && p.Y == Y); }
public ILine Create(MyPoint p1, MyPoint p2) { return(new Line(p1, p2)); }