Package: graphene

Function graphene:ray-distance-to-point

Lambda List

graphene:ray-distance-to-point (ray point)

Arguments

ray -- a graphene:ray-t instance
point -- a graphene:point3d-t instance

Return Value

The single float with the distance of the point.

Details

Computes the distance of the closest approach between the given ray and the point. 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.
 

See also

2025-4-7