MRPT  1.9.9
Euclidean.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | https://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2019, Individual contributors, see AUTHORS file |
6  | See: https://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See: https://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #pragma once
10 
11 #include <mrpt/math/CVectorFixed.h>
12 #include <mrpt/math/TPoint2D.h>
13 #include <mrpt/math/TPoint3D.h>
14 #include <mrpt/poses/poses_frwds.h>
15 
17 {
18 /** Traits for Euclidean R^N space.
19  * \ingroup mrpt_poses_lie_grp
20  */
21 template <unsigned int N>
22 struct Euclidean;
23 
24 template <unsigned int N>
26 {
27  constexpr static size_t DOFs = N;
29 };
30 
31 template <>
32 struct Euclidean<2> : public EuclideanBase<2>
33 {
36 };
37 
38 template <>
39 struct Euclidean<3> : public EuclideanBase<3>
40 {
43 };
44 
45 } // namespace mrpt::poses::Lie
A compile-time fixed-size numeric matrix container.
Definition: CMatrixFixed.h:33
Traits for Euclidean R^N space.
Definition: Euclidean.h:22
A class used to store a 2D point.
Definition: CPoint2D.h:32
A class used to store a 3D point.
Definition: CPoint3D.h:31
static constexpr size_t DOFs
Definition: Euclidean.h:27
Lightweight 3D point.
Definition: TPoint3D.h:90
Lightweight 2D point.
Definition: TPoint2D.h:31



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019