norm.hpp
Go to the documentation of this file.
1 
39 #pragma once
40 
41 // Dependency:
42 #include "../glm.hpp"
43 #include "../gtx/quaternion.hpp"
44 
45 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
46 # pragma message("GLM: GLM_GTX_norm extension included")
47 #endif
48 
49 namespace glm
50 {
53 
56  template <typename T>
58  T const & x);
59 
62  template <typename genType>
63  GLM_FUNC_DECL typename genType::value_type length2(
64  genType const & x);
65 
68  template <typename T>
70  T const & p0,
71  T const & p1);
72 
75  template <typename genType>
76  GLM_FUNC_DECL typename genType::value_type distance2(
77  genType const & p0,
78  genType const & p1);
79 
82  template <typename T, precision P>
84  detail::tvec3<T, P> const & x,
85  detail::tvec3<T, P> const & y);
86 
89  template <typename T, precision P>
91  detail::tvec3<T, P> const & v);
92 
95  template <typename T, precision P>
97  detail::tvec3<T, P> const & x,
98  detail::tvec3<T, P> const & y);
99 
102  template <typename T, precision P>
104  detail::tvec3<T, P> const & x);
105 
108  template <typename T, precision P>
110  detail::tvec3<T, P> const & x,
111  detail::tvec3<T, P> const & y,
112  unsigned int Depth);
113 
116  template <typename T, precision P>
118  detail::tvec3<T, P> const & x,
119  unsigned int Depth);
120 
122 }//namespace glm
123 
124 #include "norm.inl"
glm::lxNorm
GLM_FUNC_DECL T lxNorm(detail::tvec3< T, P > const &x, detail::tvec3< T, P > const &y, unsigned int Depth)
glm::length2
GLM_FUNC_DECL T length2(T const &x)
glm::l2Norm
GLM_FUNC_DECL T l2Norm(detail::tvec3< T, P > const &x, detail::tvec3< T, P > const &y)
glm::l1Norm
GLM_FUNC_DECL T l1Norm(detail::tvec3< T, P > const &x, detail::tvec3< T, P > const &y)
glm
Definition: _literals.hpp:31
Eigen::Triplet
glm::distance2
GLM_FUNC_DECL T distance2(T const &p0, T const &p1)
GLM_FUNC_DECL
#define GLM_FUNC_DECL
Definition: setup.hpp:728


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