示例#1
0
 public Line(MyPoint p1, MyPoint p2)
 {
     P1      = p1;
     P2      = p2;
     Current = false;
 }
示例#2
0
 public bool EqualTo(MyPoint p)
 {
     return(p.X == X && p.Y == Y);
 }
示例#3
0
 public ILine Create(MyPoint p1, MyPoint p2)
 {
     return(new Line(p1, p2));
 }