HPointKey

Functions

HPointKey

HPointKey

HPointKey

HPointKey

bool

operator

bool

operator>

bool

operator

bool

operator>=

Detailed Description

class HPointKey : public HPoint

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.

Public Functions

inline HPointKey()

The default constructor.

inline HPointKey(float X, float Y, float Z = 0.0f)

This constructor accepts floats for the x, y and z coordinates.

inline HPointKey(HPoint const *p)

This constructor accepts a pointer to an HPoint object.

inline HPointKey(HPoint const &p)

This constructor accepts an HPoint reference.

inline bool operator<(HPointKey const &rhs) const
inline bool operator>(HPointKey const &rhs) const
inline bool operator<=(HPointKey const &rhs) const
inline bool operator>=(HPointKey const &rhs) const