ooc::Point Class Reference
#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 |
Detailed Description
A generic point class for storing coordinate information.
Constructor & Destructor Documentation
◆ Point() [1/2]
|
inline |
Constructs a point at the coordinate system origin
◆ Point() [2/2]
|
inline |
Constructs a point
- Parameters
-
x x-coordinate of point y y-coordinate of point z z-coordinate of point
Member Function Documentation
◆ operator*()
|
inline |
Multiplies scalar with this point
- Parameters
-
scale The scalar to multiply with this point
◆ operator+()
◆ operator-()
◆ operator/()
|
inline |
Divides scalar with this point
- Parameters
-
scale The scalar to divide with this point
Member Data Documentation
◆ x
float ooc::Point::x |
x component of point
Referenced by operator+(), and operator-().
◆ y
float ooc::Point::y |
y component of point
Referenced by operator+(), and operator-().
◆ z
float ooc::Point::z |
z component of point
Referenced by operator+(), and operator-().
The documentation for this class was generated from the following file: