Pose2< T > Struct Template Reference

Collaboration diagram for Pose2< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T>
struct Pose2< T >

2D Point (x,y) with orientation (theta)

Tenmplate class for representing a 2D Ooint with x and y coordinates and an orientation theta in the x-y-plane (theta=0 -> orientation along the x axis).

Definition at line 117 of file transformation2.hh.

Public Member Functions

const T & x () const
const T & y () const
const T & theta () const
T & x ()
T & y ()
T & theta ()
 Pose2 ()
 Pose2 (const T &x, const T &y, const T &theta)

Public Attributes

values [3]
 container for x, y, and theta


Constructor & Destructor Documentation

template<class T>
Pose2< T >::Pose2 (  )  [inline]

Default constructor which sets x, y, and theta to 0

Definition at line 135 of file transformation2.hh.

template<class T>
Pose2< T >::Pose2 ( const T &  x,
const T &  y,
const T &  theta 
) [inline]

Constructor

Definition at line 140 of file transformation2.hh.


Member Function Documentation

template<class T>
const T& Pose2< T >::x (  )  const [inline]

Returns:
Const refernce to x

Definition at line 121 of file transformation2.hh.

template<class T>
const T& Pose2< T >::y (  )  const [inline]

Returns:
Const refernce to y

Definition at line 123 of file transformation2.hh.

template<class T>
const T& Pose2< T >::theta (  )  const [inline]

Returns:
Const refernce to theta

Definition at line 125 of file transformation2.hh.

template<class T>
T& Pose2< T >::x (  )  [inline]

Returns:
Refernce to x

Definition at line 128 of file transformation2.hh.

template<class T>
T& Pose2< T >::y (  )  [inline]

Returns:
Refernce to y

Definition at line 130 of file transformation2.hh.

template<class T>
T& Pose2< T >::theta (  )  [inline]

Returns:
Refernce to theta

Definition at line 132 of file transformation2.hh.


The documentation for this struct was generated from the following file:
Generated on Mon Nov 12 11:43:01 2007 for TORO by  doxygen 1.5.0