vector_query.hpp
Go to the documentation of this file.
1 
38 #pragma once
39 
40 // Dependency:
41 #include "../glm.hpp"
42 #include <cfloat>
43 #include <limits>
44 
45 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
46 # pragma message("GLM: GLM_GTX_vector_query extension included")
47 #endif
48 
49 namespace glm
50 {
53 
56  template <typename T, precision P, template <typename, precision> class vecType>
57  GLM_FUNC_DECL bool areCollinear(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & epsilon);
58 
61  template <typename T, precision P, template <typename, precision> class vecType>
62  GLM_FUNC_DECL bool areOrthogonal(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & epsilon);
63 
66  template <typename T, precision P, template <typename, precision> class vecType>
67  GLM_FUNC_DECL bool isNormalized(vecType<T, P> const & v, T const & epsilon);
68 
71  template <typename T, precision P, template <typename, precision> class vecType>
72  GLM_FUNC_DECL bool isNull(vecType<T, P> const & v, T const & epsilon);
73 
76  template <typename T, precision P, template <typename, precision> class vecType>
77  GLM_FUNC_DECL vecType<bool, P> isCompNull(vecType<T, P> const & v, T const & epsilon);
78 
81  template <typename T, precision P, template <typename, precision> class vecType>
82  GLM_FUNC_DECL bool areOrthonormal(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & epsilon);
83 
85 }// namespace glm
86 
87 #include "vector_query.inl"
GLM_FUNC_DECL bool isNormalized(detail::tmat2x2< T, P > const &m, T const &epsilon)
GLM_FUNC_DECL bool isNull(detail::tmat2x2< T, P > const &m, T const &epsilon)
GLM_FUNC_DECL bool areOrthogonal(vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
GLM_FUNC_DECL genType epsilon()
GLM_FUNC_DECL bool areCollinear(vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
GLM_FUNC_DECL vecType< bool, P > isCompNull(vecType< T, P > const &v, T const &epsilon)
GLM_FUNC_DECL bool areOrthonormal(vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:41