#include <mrpt/math/lightweight_geom_data.h>
Public Member Functions | |
TPose2D (const TPoint2D &p) | |
Implicit constructor from TPoint2D. | |
TPose2D (const TPoint3D &p) | |
Constructor from TPoint3D, losing information. | |
TPose2D (const TPose3D &p) | |
Constructor from TPose3D, losing information. | |
TPose2D (const mrpt::poses::CPose2D &p) | |
Implicit constructor from heavyweight type. | |
TPose2D (double xx, double yy, double pphi) | |
Constructor from coordinates. | |
TPose2D () | |
Default fast constructor. | |
double & | operator[] (size_t i) |
Unsafe coordinate access using operator[]. | |
const double & | operator[] (size_t i) const |
Unsafe coordinate access using operator[]. | |
void | getAsVector (vector_double &v) const |
Transformation into vector. | |
Public Attributes | |
double | x |
X coordinate. | |
double | y |
Y coordinate. | |
double | phi |
Phi coordinate. |
Allows coordinate access using [] operator.
Definition at line 130 of file lightweight_geom_data.h.
mrpt::math::TPose2D::TPose2D | ( | const TPoint2D & | p | ) |
mrpt::math::TPose2D::TPose2D | ( | const TPoint3D & | p | ) | [explicit] |
mrpt::math::TPose2D::TPose2D | ( | const TPose3D & | p | ) | [explicit] |
mrpt::math::TPose2D::TPose2D | ( | const mrpt::poses::CPose2D & | p | ) |
mrpt::math::TPose2D::TPose2D | ( | double | xx, | |
double | yy, | |||
double | pphi | |||
) | [inline] |
mrpt::math::TPose2D::TPose2D | ( | ) | [inline] |
Default fast constructor.
Initializes to garbage.
Definition at line 170 of file lightweight_geom_data.h.
void mrpt::math::TPose2D::getAsVector | ( | vector_double & | v | ) | const [inline] |
const double& mrpt::math::TPose2D::operator[] | ( | size_t | i | ) | const [inline] |
Unsafe coordinate access using operator[].
Intended for loops.
Definition at line 180 of file lightweight_geom_data.h.
double& mrpt::math::TPose2D::operator[] | ( | size_t | i | ) | [inline] |
Unsafe coordinate access using operator[].
Intended for loops.
Definition at line 174 of file lightweight_geom_data.h.
double mrpt::math::TPose2D::phi |
Phi coordinate.
Definition at line 142 of file lightweight_geom_data.h.
Referenced by mrpt::math::operator!=(), and mrpt::math::operator==().
double mrpt::math::TPose2D::x |
X coordinate.
Definition at line 134 of file lightweight_geom_data.h.
Referenced by mrpt::math::operator!=(), and mrpt::math::operator==().
double mrpt::math::TPose2D::y |
Y coordinate.
Definition at line 138 of file lightweight_geom_data.h.
Referenced by mrpt::math::operator!=(), and mrpt::math::operator==().
Page generated by Doxygen 1.5.7.1 for MRPT 0.7.1 SVN: at Mon Aug 17 22:58:25 EDT 2009 |