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