Functions
GLM_GTX_closest_point

Find the point on a straight line which is the closet of a point. More...

Collaboration diagram for GLM_GTX_closest_point:

Functions

template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3< T, Pglm::closestPointOnLine (detail::tvec3< T, P > const &point, detail::tvec3< T, P > const &a, detail::tvec3< T, P > const &b)
 

Detailed Description

Find the point on a straight line which is the closet of a point.

<glm/gtx/closest_point.hpp> need to be included to use these functionalities.

Function Documentation

◆ closestPointOnLine()

template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3<T, P> glm::closestPointOnLine ( detail::tvec3< T, P > const &  point,
detail::tvec3< T, P > const &  a,
detail::tvec3< T, P > const &  b 
)

Find the point on a straight line which is the closet of a point.

See also
GLM_GTX_closest_point


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26