Public Member Functions | Public Attributes | List of all members
AISNavigation::Pose2< T > Struct Template Reference

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

#include <transformation2.hh>

Public Member Functions

 Pose2 ()
 
 Pose2 (const T &x, const T &y, const T &theta)
 
const Ttheta () const
 
Ttheta ()
 
const Tx () const
 
Tx ()
 
const Ty () const
 
Ty ()
 

Public Attributes

T values [3]
 container for x, y, and theta More...
 

Detailed Description

template<class T>
struct AISNavigation::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 120 of file transformation2.hh.

Constructor & Destructor Documentation

◆ Pose2() [1/2]

template<class T>
AISNavigation::Pose2< T >::Pose2 ( )
inline

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

Definition at line 138 of file transformation2.hh.

◆ Pose2() [2/2]

template<class T>
AISNavigation::Pose2< T >::Pose2 ( const T x,
const T y,
const T theta 
)
inline

Constructor

Definition at line 143 of file transformation2.hh.

Member Function Documentation

◆ theta() [1/2]

template<class T>
const T& AISNavigation::Pose2< T >::theta ( ) const
inline
Returns
Const refernce to theta

Definition at line 128 of file transformation2.hh.

◆ theta() [2/2]

template<class T>
T& AISNavigation::Pose2< T >::theta ( )
inline
Returns
Refernce to theta

Definition at line 135 of file transformation2.hh.

◆ x() [1/2]

template<class T>
const T& AISNavigation::Pose2< T >::x ( ) const
inline
Returns
Const refernce to x

Definition at line 124 of file transformation2.hh.

◆ x() [2/2]

template<class T>
T& AISNavigation::Pose2< T >::x ( )
inline
Returns
Refernce to x

Definition at line 131 of file transformation2.hh.

◆ y() [1/2]

template<class T>
const T& AISNavigation::Pose2< T >::y ( ) const
inline
Returns
Const refernce to y

Definition at line 126 of file transformation2.hh.

◆ y() [2/2]

template<class T>
T& AISNavigation::Pose2< T >::y ( )
inline
Returns
Refernce to y

Definition at line 133 of file transformation2.hh.

Member Data Documentation

◆ values

template<class T>
T AISNavigation::Pose2< T >::values[3]

container for x, y, and theta

Definition at line 121 of file transformation2.hh.


The documentation for this struct was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:38:59