#include <point.h>
Public Member Functions | |
PointT () | |
PointT (const PointT< V > &p) | |
PointT< V > & | operator= (const PointT< V > &p) |
PointT (V x) | |
PointT (V x, V y) | |
PointT (V x, V y, V z) | |
PointT (V x, V y, V z, V t) | |
V | getX () const |
V | getY () const |
V | getZ () const |
V | getT () const |
void | setX (const V &x) |
void | setY (const V &y) |
void | setZ (const V &z) |
void | setT (const V &t) |
size_t | getDimension () const |
V | operator[] (size_t t) const |
V & | operator[] (size_t t) |
bool | operator== (const PointT< V > &other) const |
bool | operator!= (const PointT< V > &other) const |
|
default constructor |
|
copy constructor
|
|
constructs a new 1D point object
|
|
constructs a new 2D point object
|
|
constructs a new 3D point object
|
|
constructs a new 4D point object
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assignment operator
|
|
|
|
|
|
|
|
modifies the location of the Point along the t axis
|
|
modifies the location of the Point along the x axis
|
|
modifies the location of the Point along the y axis
|
|
modifies the location of the Point along the z axis
|