get_closest_point_to_point


Description:

public Point3D get_closest_point_to_point (Point3D p)

Computes the point on the given Ray that is closest to the given point p.

Parameters:

this

a Ray

p

a Point3D

res

return location for the closest point3d