Public Member Functions |
| Point2D () |
| Point2D (const Tuple< COORDINATE_2D_COUNT, T > &other) |
| Point2D (T init) |
| Point2D (T _x, T _y) |
T & | x () |
const T & | x () const |
T & | y () |
const T & | y () const |
| Tuple () |
| Tuple (T init) |
| Initialize every element of the tuple to a single value.
|
bool | operator== (const Tuple< N, T > &rhs) const |
| Returns true when every element in the two tuples are identical.
|
bool | operator!= (const Tuple< N, T > &rhs) const |
| Returns true if there are any differences between the two tuples.
|
Tuple< N, T > & | operator+= (const Tuple< N, T > &rhs) |
| Adds every element of another tuple to the elements of this tuple.
|
Tuple< N, T > & | operator-= (const Tuple< N, T > &rhs) |
| Subtracts every element of another tuple from the elements of this tuple.
|
Tuple< N, T > & | operator*= (const T &rhs) |
| Multiplies every element in the tuple by a single value.
|
Tuple< N, T > & | operator/= (const T &rhs) |
| Divides every element in the tuple by a single value.
|
const Tuple< N, T > | operator+ (const Tuple< N, T > &rhs) const |
| Returns the result of adding another tuple to this tuple.
|
const Tuple< N, T > | operator- (const Tuple< N, T > &rhs) const |
| Returns the result of subtracting another tuple from this tuple.
|
const Tuple< N, T > | operator* (const T &rhs) const |
| Returns the result of multiplying this tuple by a single value.
|
const Tuple< N, T > | operator/ (const T &rhs) const |
| Returns the result of dividing this tuple by a single value.
|
T & | operator[] (unsigned int i) |
const T & | operator[] (unsigned int i) const |
template<typename T>
class Argus::Point2D< T >
Point2D template class.
This is a Tuple specialization containing 2 elements corresponding to the x and y coordinates a 2D point. Values can be accessed using the named methods or subscript indexing using the Argus::Coordinate enum.
Definition at line 663 of file Types.h.