|
| Point () noexcept |
|
| Point (const T &x, const T &y) noexcept |
|
| Point (const Point< T > &pos) noexcept |
|
const T & | getX () const noexcept |
|
const T & | getY () const noexcept |
|
void | setX (const T &x) noexcept |
|
void | setY (const T &y) noexcept |
|
void | setPos (const T &x, const T &y) noexcept |
|
void | setPos (const Point< T > &pos) noexcept |
|
void | moveBy (const T &x, const T &y) noexcept |
|
void | moveBy (const Point< T > &pos) noexcept |
|
bool | isZero () const noexcept |
|
bool | isNotZero () const noexcept |
|
Point< T > | operator+ (const Point< T > &pos) noexcept |
|
Point< T > | operator- (const Point< T > &pos) noexcept |
|
Point< T > & | operator= (const Point< T > &pos) noexcept |
|
Point< T > & | operator+= (const Point< T > &pos) noexcept |
|
Point< T > & | operator-= (const Point< T > &pos) noexcept |
|
bool | operator== (const Point< T > &pos) const noexcept |
|
bool | operator!= (const Point< T > &pos) const noexcept |
|
template<typename T>
class Point< T >
DGL Point class.
This class describes a single point in space, defined by an X and Y value.