getDistanceToPoint

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.

Return

the distance of the point

Since

1.4

Parameters

p

a #graphene_point3d_t