get_distance_to_point
Description:
public float get_distance_to_point (
Point3D p)
Computes the distance of the closest approach between the given Ray
this and the point p
.
The closest approach to a ray from a point is the distance between the point and the projection of the point on the ray itself.
Parameters:
Returns:
the distance of the point
|