20 template <
class POSEORPOINT>
64 template <
class DERIVEDCLASS,
int IS3D>
68 template <
class DERIVEDCLASS>
71 inline double z() const
73 return static_cast<const DERIVEDCLASS*
>(
this)->m_coords[2];
77 return static_cast<DERIVEDCLASS*
>(
this)->m_coords[2];
79 inline void z(
const double v)
81 static_cast<DERIVEDCLASS*
>(
this)->m_coords[2] =
v;
85 static_cast<DERIVEDCLASS*
>(
this)->m_coords[2] +=
v;
90 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).