#include <vtkVector.h>
Definition at line 81 of file vtkVector.h.
Public Member Functions | |
vtkVector2 (const T &x=0.0, const T &y=0.0) | |
vtkVector2 (const T *init) | |
void | SetX (const T &x) |
void | SetY (const T &y) |
void | Set (const T &x, const T &y) |
const T & | GetX () const |
const T & | X () const |
const T & | GetY () const |
const T & | Y () const |
vtkVector2< T >::vtkVector2 | ( | const T & | x = 0.0 , |
|
const T & | y = 0.0 | |||
) | [inline] |
Definition at line 84 of file vtkVector.h.
vtkVector2< T >::vtkVector2 | ( | const T * | init | ) | [inline] |
Definition at line 90 of file vtkVector.h.
void vtkVector2< T >::Set | ( | const T & | x, | |
const T & | y | |||
) | [inline] |
Set the x and y components of the vector.
Definition at line 96 of file vtkVector.h.
void vtkVector2< T >::SetX | ( | const T & | x | ) | [inline] |
Set the x component of the vector, i.e. element 0.
Definition at line 104 of file vtkVector.h.
const T& vtkVector2< T >::GetX | ( | ) | const [inline] |
Get the x component of the vector, i.e. element 0.
Definition at line 108 of file vtkVector.h.
const T& vtkVector2< T >::X | ( | ) | const [inline] |
Get the x component of the vector, i.e. element 0.
Definition at line 109 of file vtkVector.h.
void vtkVector2< T >::SetY | ( | const T & | y | ) | [inline] |
Set the y component of the vector, i.e. element 1.
Definition at line 113 of file vtkVector.h.
const T& vtkVector2< T >::GetY | ( | ) | const [inline] |
Get the y component of the vector, i.e. element 1.
Definition at line 117 of file vtkVector.h.
const T& vtkVector2< T >::Y | ( | ) | const [inline] |
Get the y component of the vector, i.e. element 1.
Definition at line 118 of file vtkVector.h.