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.h>

Public Member Functions

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

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.h.

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.h.

◆ 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.h.

Member Function Documentation

◆ theta() [1/2]

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

Definition at line 135 of file transformation2.h.

◆ theta() [2/2]

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

Definition at line 128 of file transformation2.h.

◆ x() [1/2]

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

Definition at line 131 of file transformation2.h.

◆ x() [2/2]

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

Definition at line 124 of file transformation2.h.

◆ y() [1/2]

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

Definition at line 133 of file transformation2.h.

◆ y() [2/2]

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

Definition at line 126 of file transformation2.h.

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.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26