![]() |
nomlib
|
2D point container More...
#include <Point2.hpp>
Public Member Functions | |
| Point2 (void) | |
| Default constructor; initialize values to Point2<T>::null. | |
| ~Point2 (void) | |
| Destructor. | |
| Point2 (T x, T y) | |
| Constructor variant for initializing x, y at construction. | |
| template<typename U> | |
| Point2 (const Point2< U > ©) | |
| Copy constructor. | |
| const Point2< T > & | get (void) const |
| Obtain a reference of the object. | |
Public Attributes | |
| T | x |
| Represents the X-axis coordinate point. | |
| T | y |
| Represents the Y-axis coordinate point. | |
Static Public Attributes | |
| static const Point2 | null |
| Null value. | |
| static const Point2 | zero |
| Zero value constant. | |
2D point container
Definition at line 43 of file Point2.hpp.
|
inline |
Default constructor; initialize values to Point2<T>::null.
Definition at line 46 of file Point2.hpp.
|
inline |
Destructor.
Definition at line 54 of file Point2.hpp.
|
inline |
Constructor variant for initializing x, y at construction.
Definition at line 60 of file Point2.hpp.
|
inlineexplicit |
Copy constructor.
Definition at line 73 of file Point2.hpp.
|
inline |
Obtain a reference of the object.
Definition at line 81 of file Point2.hpp.
|
static |
Null value.
Definition at line 89 of file Point2.hpp.
| T nom::Point2< T >::x |
Represents the X-axis coordinate point.
Definition at line 95 of file Point2.hpp.
| T nom::Point2< T >::y |
Represents the Y-axis coordinate point.
Definition at line 98 of file Point2.hpp.
|
static |
Zero value constant.
Definition at line 92 of file Point2.hpp.