Distance calculates the distance between the current point and the passed point.
Parameters |
Description |
T x2 |
The x coordinate of the point whose distance to the current point will be calculated. |
T y2 |
The y coordinate of the point whose distance to the current point will be calculated. |
T z2 |
The z coordinate of the point whose distance to the current point will be calculated. |
const Point3<T> & pt |
A point whose distance to the current point will be calculated. |
A value containing the calculated distance.