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