Public Member Functions | Public Attributes
AISNavigation::Vector2< T > Struct Template Reference

Template class for representing a 2D point (x and y coordinate) More...

#include <transformation2.hh>

List of all members.

Public Member Functions

T norm2 () const
 Vector2 (T x, T y)
 Vector2 ()
const Tx () const
Tx ()
const Ty () const
Ty ()

Public Attributes

T values [2]
 container for x and y

Detailed Description

template<class T>
struct AISNavigation::Vector2< T >

Template class for representing a 2D point (x and y coordinate)

Definition at line 54 of file transformation2.hh.


Constructor & Destructor Documentation

template<class T>
AISNavigation::Vector2< T >::Vector2 ( T  x,
T  y 
) [inline]

Constructor

Definition at line 58 of file transformation2.hh.

template<class T>
AISNavigation::Vector2< T >::Vector2 ( ) [inline]

Default constructor which sets x and y to 0

Definition at line 60 of file transformation2.hh.


Member Function Documentation

template<class T>
T AISNavigation::Vector2< T >::norm2 ( ) const [inline]
Returns:
Norm of the vector

Definition at line 73 of file transformation2.hh.

template<class T>
const T& AISNavigation::Vector2< T >::x ( ) const [inline]
Returns:
Const reference to x

Definition at line 63 of file transformation2.hh.

template<class T>
T& AISNavigation::Vector2< T >::x ( ) [inline]
Returns:
Reference to x

Definition at line 68 of file transformation2.hh.

template<class T>
const T& AISNavigation::Vector2< T >::y ( ) const [inline]
Returns:
Const reference to y

Definition at line 65 of file transformation2.hh.

template<class T>
T& AISNavigation::Vector2< T >::y ( ) [inline]
Returns:
Reference to y

Definition at line 70 of file transformation2.hh.


Member Data Documentation

template<class T>
T AISNavigation::Vector2< T >::values[2]

container for x and y

Definition at line 55 of file transformation2.hh.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:40