9 #ifndef CPOSEORPOINT_DETAIL_H 10 #define CPOSEORPOINT_DETAIL_H 36 inline double z() const {
return static_cast<const DERIVEDCLASS*
>(
this)->m_coords[2]; }
37 inline double &
z() {
return static_cast<DERIVEDCLASS*
>(
this)->m_coords[2]; }
38 inline void z(
const double v) {
static_cast<DERIVEDCLASS*
>(
this)->m_coords[2]=
v; }
39 inline void z_incr(
const double v) {
static_cast<DERIVEDCLASS*
>(
this)->m_coords[2]+=
v; }
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...