#include <geometry.h>
Public Member Functions | |
Pose (double xi=0.0f, double yi=0.0f, double thetai=0.0) | |
bool | operator== (const Pose &pose) const |
Equals operator. | |
Point | globalize (const Point &point) const |
Transforms a local point into the world frame of reference. | |
Pose | globalize (const Pose &pose) const |
Transforms a local pose into the world frame of reference. | |
Point | localize (const Point &point) const |
Transforms a point to be in this object's frame of reference. | |
Pose | localize (const Pose &pose) const |
Transforms another pose to be in this object's frame of reference. | |
Pose | rotate (const double &dtheta) |
Rotates this object's frame of reference. | |
Pose | translate (const double &dx, const double &dy) |
Translates this object's frame of reference. | |
Public Attributes | |
double | x |
x-axis position | |
double | y |
y-axis position | |
double | theta |
orientation |
Pose::Pose | ( | double | xi = 0.0f , |
|
double | yi = 0.0f , |
|||
double | thetai = 0.0 | |||
) |
xi | initial x-axis position | |
yi | initial y-axis position | |
thetai | initial orientation |
References theta.
Referenced by globalize(), localize(), rotate(), and translate().