inline T Distance(T x2, T y2) const; inline T Distance(const Point<T> & pt) const; inline T Distance() const;
Distance calculates the distance between the current point and the passed point using the equation:
sqrt( (x2-x)^2 + (y2-y)^2 )
A value containing the calculated distance.