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
16
namespace
mrpt::poses::Lie
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>
25
struct
EuclideanBase
26
{
27
constexpr
static
size_t
DOFs
= N;
28
using
tangent_vector
=
mrpt::math::CVectorFixedDouble<DOFs>
;
29
};
30
31
template
<>
32
struct
Euclidean
<2> :
public
EuclideanBase
<2>
33
{
34
using
type
=
mrpt::poses::CPoint2D
;
35
using
light_type
=
mrpt::math::TPoint2D
;
36
};
37
38
template
<>
39
struct
Euclidean
<3> :
public
EuclideanBase
<3>
40
{
41
using
type
=
mrpt::poses::CPoint3D
;
42
using
light_type
=
mrpt::math::TPoint3D
;
43
};
44
45
}
// namespace mrpt::poses::Lie
mrpt::math::CMatrixFixed
A compile-time fixed-size numeric matrix container.
Definition:
CMatrixFixed.h:33
TPoint2D.h
mrpt::poses::Lie
Definition:
Euclidean.h:16
mrpt::poses::Lie::EuclideanBase
Definition:
Euclidean.h:25
poses_frwds.h
mrpt::poses::Lie::Euclidean
Traits for Euclidean R^N space.
Definition:
Euclidean.h:22
mrpt::poses::CPoint2D
A class used to store a 2D point.
Definition:
CPoint2D.h:32
mrpt::poses::CPoint3D
A class used to store a 3D point.
Definition:
CPoint3D.h:31
CVectorFixed.h
mrpt::poses::Lie::EuclideanBase::DOFs
static constexpr size_t DOFs
Definition:
Euclidean.h:27
mrpt::math::TPoint3D
Lightweight 3D point.
Definition:
TPoint3D.h:90
mrpt::math::TPoint2D
Lightweight 2D point.
Definition:
TPoint2D.h:31
TPoint3D.h
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