10 Point2D(
double x0,
double y0) { x = x0; y = y0; }
12 double getDistanceTo(Point2D p)
const;
13 double getSquaredDistanceTo(Point2D p)
const;
18 inline double Point2D::getDistanceTo(Point2D p)
const
20 return std::sqrt(getSquaredDistanceTo(p));
23 inline double Point2D::getSquaredDistanceTo(Point2D p)
const