Functions
GLM_GTX_vector_query

Query informations of vector types. More...

Collaboration diagram for GLM_GTX_vector_query:

Functions

template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL bool glm::areCollinear (vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL bool glm::areOrthogonal (vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL bool glm::areOrthonormal (vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< bool, P > glm::isCompNull (vecType< T, P > const &v, T const &epsilon)
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL bool glm::isNormalized (vecType< T, P > const &v, T const &epsilon)
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL bool glm::isNull (vecType< T, P > const &v, T const &epsilon)
 

Detailed Description

Query informations of vector types.

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

Function Documentation

template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL bool glm::areCollinear ( vecType< T, P > const &  v0,
vecType< T, P > const &  v1,
T const &  epsilon 
)

Check whether two vectors are collinears.

See also
GLM_GTX_vector_query extensions.
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL bool glm::areOrthogonal ( vecType< T, P > const &  v0,
vecType< T, P > const &  v1,
T const &  epsilon 
)

Check whether two vectors are orthogonals.

See also
GLM_GTX_vector_query extensions.
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL bool glm::areOrthonormal ( vecType< T, P > const &  v0,
vecType< T, P > const &  v1,
T const &  epsilon 
)

Check whether two vectors are orthonormal.

See also
GLM_GTX_vector_query extensions.
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType<bool, P> glm::isCompNull ( vecType< T, P > const &  v,
T const &  epsilon 
)

Check whether a each component of a vector is null.

See also
GLM_GTX_vector_query extensions.
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL bool glm::isNormalized ( vecType< T, P > const &  v,
T const &  epsilon 
)

Check whether a vector is normalized.

See also
GLM_GTX_vector_query extensions.
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL bool glm::isNull ( vecType< T, P > const &  v,
T const &  epsilon 
)

Check whether a vector is null.

See also
GLM_GTX_vector_query extensions.


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08