Example #1
0
 public void SetLocation(Point p)
 {
     this.x = p.GetX();
     this.y = p.GetY();
 }
Example #2
0
 public void SetLocation(Point p)
 {
     this.x = p.GetX();
     this.y = p.GetY();
 }
Example #3
0
 public float PtSegDistSq(Point pt)
 {
     return PtSegDistSq(GetX1(), GetY1(), GetX2(), GetY2(), pt.GetX(),
             pt.GetY());
 }
Example #4
0
 public float PtLineDistSq(Point pt)
 {
     return(PtLineDistSq(GetX1(), GetY1(), GetX2(), GetY2(), pt.GetX(),
                         pt.GetY()));
 }
Example #5
0
 public float PtLineDist(Point pt)
 {
     return PtLineDist(GetX1(), GetY1(), GetX2(), GetY2(), pt.GetX(),
             pt.GetY());
 }