HPoint
Functions
HPoint |
|
HPoint |
|
HPoint |
|
HPoint |
|
void | Set |
void | Set |
void | Set |
void | Set |
void | Set |
void | Add |
HPoint const | operator- |
HPoint const | operator+ |
HPoint const | operator* |
HPoint const | operator/ |
HPoint const & | operator+= |
HPoint const & | operator-= |
HPoint const & | operator*= |
HPoint const & | operator/= |
bool | operator== |
bool | operator!= |
HPoint & | operator= |
bool | Equal |
bool | Equal |
Detailed Description
-
class
HPoint
The HPoint class is the data type of a three-dimensional point.
The HPoint class encapsulates the x, y, and z coordinates of a 3-dimensional point. HPoint simplifies the passing of 3-dimensional point data to all of the MVO and derived classes. It is widely used by public and internal functions as well as by native HOOPS routines.
Subclassed by HPointKey
Public Functions
-
inline
HPoint
() The default constructor.
-
inline
HPoint
(float X, float Y, float Z = 0.0f) This constructor accepts floats for the x, y and z coordinates.
-
inline void
Set
(float X, float Y, float Z = 0.0f) This method packs an HPoint object with coordinate values.
-
inline void
Set
(HPoint *p) This method packs an HPoint object with coordinate values from a given HPoint.
-
inline void
Set
(HPoint const *p) This method packs an HPoint object with coordinate values from a given HPoint.
-
inline void
Set
(HPoint &p) This method packs an HPoint object with coordinate values from a given HPoint that is passed by reference.
-
inline void
Set
(HPoint const &p) This method packs an HPoint object with coordinate values from a given HPoint that is passed by reference.
-
inline void
Add
(float X, float Y, float Z = 0.0) This method increases/decreases the coordinate values of an existing HPoint object.
Parameters: - X – The amount in which you want to increment or decrement the x coordinate.
- Y – The amount in which you want to increment or decrement the y coordinate.
- Z – The amount in which you want to increment or decrement the z coordinate.
-
inline