Flow Visualisation
GLM_GTX_vector_query

Query informations of vector types. More...

Collaboration diagram for GLM_GTX_vector_query:

Functions

template<typename genType >
bool glm::areCollinear (genType const &v0, genType const &v1, typename genType::value_type const &epsilon)
 
template<typename genType >
bool glm::areOrthogonal (genType const &v0, genType const &v1, typename genType::value_type const &epsilon)
 
template<typename genType , template< typename > class vecType>
bool glm::isNormalized (vecType< genType > const &v, genType const &epsilon)
 
template<typename valType >
bool glm::isNull (detail::tvec2< valType > const &v, valType const &epsilon)
 
template<typename valType >
bool glm::isNull (detail::tvec3< valType > const &v, valType const &epsilon)
 
template<typename valType >
bool glm::isNull (detail::tvec4< valType > const &v, valType const &epsilon)
 
template<typename genType >
bool glm::areOrthonormal (genType const &v0, genType const &v1, typename genType::value_type 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 genType >
bool glm::areCollinear ( genType const &  v0,
genType const &  v1,
typename genType::value_type const &  epsilon 
)

Check whether two vectors are collinears. From GLM_GTX_vector_query extensions.

template<typename genType >
bool glm::areOrthogonal ( genType const &  v0,
genType const &  v1,
typename genType::value_type const &  epsilon 
)

Check whether two vectors are orthogonals. From GLM_GTX_vector_query extensions.

template<typename genType >
bool glm::areOrthonormal ( genType const &  v0,
genType const &  v1,
typename genType::value_type const &  epsilon 
)

Check whether two vectors are orthonormal. From GLM_GTX_vector_query extensions.

template<typename genType , template< typename > class vecType>
bool glm::isNormalized ( vecType< genType > const &  v,
genType const &  epsilon 
)

Check whether a vector is normalized. From GLM_GTX_vector_query extensions.

template<typename valType >
bool glm::isNull ( detail::tvec2< valType > const &  v,
valType const &  epsilon 
)

Check whether a vector is null. From GLM_GTX_vector_query extensions.

template<typename valType >
bool glm::isNull ( detail::tvec3< valType > const &  v,
valType const &  epsilon 
)

Check whether a vector is null. From GLM_GTX_vector_query extensions.

template<typename valType >
bool glm::isNull ( detail::tvec4< valType > const &  v,
valType const &  epsilon 
)

Check whether a vector is null. From GLM_GTX_vector_query extensions.