#include <PointCloudAPI.h>
Public Member Functions | |
Point | operator* (float scale) const |
Point | operator+ (Point const &other) const |
Point | operator- (Point const &other) const |
Point | operator/ (float scale) const |
Point () | |
Point (float x, float y, float z) | |
Public Attributes | |
float | x |
float | y |
float | z |
A generic point class for storing coordinate information.
ooc::Point::Point | ( | ) | [inline] |
Constructs a point at the coordinate system origin
ooc::Point::Point | ( | float | x, |
float | y, | ||
float | z | ||
) | [inline] |
Contructs a point
x | x-coordinate of point |
y | y-coordinate of point |
z | z-coordinate of point |
Point ooc::Point::operator* | ( | float | scale | ) | const [inline] |
Multiplies scalar with this point
scale | The scalar to multiply with this point |
Point ooc::Point::operator/ | ( | float | scale | ) | const [inline] |
Divides scalar with this point
scale | The scalar to divide with this point |
float ooc::Point::x |
x component of point
Referenced by operator+(), and operator-().
float ooc::Point::y |
y component of point
Referenced by operator+(), and operator-().
float ooc::Point::z |
z component of point
Referenced by operator+(), and operator-().