9 #ifndef CPOSEORPOINT_DETAIL_H 10 #define CPOSEORPOINT_DETAIL_H 21 template <
class POSEORPOINT>
73 template <
class DERIVEDCLASS,
int IS3D>
77 template <
class DERIVEDCLASS>
80 inline double z() const
82 return static_cast<const DERIVEDCLASS*
>(
this)->m_coords[2];
86 return static_cast<DERIVEDCLASS*
>(
this)->m_coords[2];
88 inline void z(
const double v)
90 static_cast<DERIVEDCLASS*
>(
this)->m_coords[2] =
v;
94 static_cast<DERIVEDCLASS*
>(
this)->m_coords[2] +=
v;
99 template <
class DERIVEDCLASS>
void z_incr(const double v)
A class used to store a 3D pose as a translation (x,y,z) and a quaternion (qr,qx,qy,qz).
A class used to store a 2D point.
A class used to store a 3D point.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
A 3D pose, with a 3D translation and a rotation in 3D parameterized in rotation-vector form (equivale...