#include <Karto.h>
Public Member Functions | |
kt_double | GetHeading () const |
const Vector2< kt_double > & | GetPosition () const |
kt_double | GetX () const |
kt_double | GetY () const |
kt_bool | operator!= (const Pose2 &rOther) const |
Pose2 | operator+ (const Pose2 &rOther) const |
void | operator+= (const Pose2 &rOther) |
Pose2 | operator- (const Pose2 &rOther) const |
Pose2 & | operator= (const Pose2 &rOther) |
kt_bool | operator== (const Pose2 &rOther) const |
Pose2 () | |
Pose2 (const Pose2 &rOther) | |
Pose2 (const Pose3 &rPose) | |
Pose2 (const Vector2< kt_double > &rPosition, kt_double heading) | |
Pose2 (kt_double x, kt_double y, kt_double heading) | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
void | SetHeading (kt_double heading) |
void | SetPosition (const Vector2< kt_double > &rPosition) |
void | SetX (kt_double x) |
void | SetY (kt_double y) |
kt_double | SquaredDistance (const Pose2 &rOther) const |
Private Attributes | |
kt_double | m_Heading |
Vector2< kt_double > | m_Position |
Friends | |
class | boost::serialization::access |
std::ostream & | operator<< (std::ostream &rStream, const Pose2 &rPose) |
std::istream & | operator>> (std::istream &rStream, const Pose2 &) |
Defines a position (x, y) in 2-dimensional space and heading.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |