#include <HGlobals.h>
Public Member Functions | |
HPointKey () | |
HPointKey (float X, float Y, float Z=0.0f) | |
HPointKey (HPoint const *p) | |
HPointKey (HPoint const &p) | |
bool const | operator< (HPointKey const &rhs) const |
bool const | operator<= (HPointKey const &rhs) const |
bool const | operator> (HPointKey const &rhs) const |
bool const | operator>= (HPointKey const &rhs) const |
The HPointKey class is the data type of a three-dimensional point with compairison operators defined so the point can be used as a key in a container class (e.g. the STL).
The HPointKey class encapsulates HPoint. HPointKey can be used as a key in STL containers.
HPointKey::HPointKey | ( | ) | [inline] |
The default constructor.
HPointKey::HPointKey | ( | float | X, |
float | Y, | ||
float | Z = 0.0f |
||
) | [inline] |
This constructor accepts floats for the x, y and z coordinates.
HPointKey::HPointKey | ( | HPoint const * | p | ) | [inline] |
This constructor accepts a pointer to an HPoint object.