Point
Detailed Description
-
class
Point
A generic point class for storing coordinate information.
Public Functions
-
inline
Point
() Constructs a point at the coordinate system origin
-
inline
Point
(float x, float y, float z) Constructs a point
Parameters: - x – x-coordinate of point
- y – y-coordinate of point
- z – z-coordinate of point
-
inline Point
operator+
(Point const &other) const Adds this point to parameter other
Parameters: other – The point to add this point to
-
inline Point
operator-
(Point const &other) const Subtracts parameter point from this point
Parameters: other – The point to subtract from this point
-
inline