Ray.getDistanceToPoint
float getDistanceToPoint(graphene.point3_d.Point3D p)Computes the distance of the closest approach between the given #graphene_ray_t r 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
p | a #graphene_point3d_t |
Returns
the distance of the point