Template class for representing a 2D point (x and y coordinate) More...
#include <transformation2.hh>
Public Member Functions | |
| T | norm2 () const |
| Vector2 (T x, T y) | |
| Vector2 () | |
| const T & | x () const |
| T & | x () |
| const T & | y () const |
| T & | y () |
Public Attributes | |
| T | values [2] |
| container for x and y | |
Template class for representing a 2D point (x and y coordinate)
Definition at line 54 of file transformation2.hh.
| AISNavigation::Vector2< T >::Vector2 | ( | T | x, |
| T | y | ||
| ) | [inline] |
Constructor
Definition at line 58 of file transformation2.hh.
| AISNavigation::Vector2< T >::Vector2 | ( | ) | [inline] |
Default constructor which sets x and y to 0
Definition at line 60 of file transformation2.hh.
| T AISNavigation::Vector2< T >::norm2 | ( | ) | const [inline] |
Definition at line 73 of file transformation2.hh.
| const T& AISNavigation::Vector2< T >::x | ( | ) | const [inline] |
Definition at line 63 of file transformation2.hh.
| T& AISNavigation::Vector2< T >::x | ( | ) | [inline] |
Definition at line 68 of file transformation2.hh.
| const T& AISNavigation::Vector2< T >::y | ( | ) | const [inline] |
Definition at line 65 of file transformation2.hh.
| T& AISNavigation::Vector2< T >::y | ( | ) | [inline] |
Definition at line 70 of file transformation2.hh.
| T AISNavigation::Vector2< T >::values[2] |
container for x and y
Definition at line 55 of file transformation2.hh.