예제 #1
0
 virtual public double DistanceSq(Point2D p)
 {
     return(Point2D.DistanceSq(GetX(), GetY(), p.GetX(), p.GetY()));
 }
예제 #2
0
 virtual public double DistanceSq(double px, double py)
 {
     return(Point2D.DistanceSq(GetX(), GetY(), px, py));
 }