HPointKey

class HPointKey

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.

Inherits from: HPoint

Methods

HPointKey::HPointKey()

The default constructor.

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

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

HPointKey::HPointKey(HPoint const *p)

This constructor accepts a pointer to an HPoint object.

HPointKey::HPointKey(HPoint const &p)

This constructor accepts an HPoint reference.

bool HPointKey::operator<(HPointKey const &rhs) const

const

bool HPointKey::operator>(HPointKey const &rhs) const

const

bool HPointKey::operator<=(HPointKey const &rhs) const

const

bool HPointKey::operator>=(HPointKey const &rhs) const

const