Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HPointKey Class Reference

#include <HGlobals.h>

List of all members.

Public Member Functions

 HPointKey ()
 HPointKey (float X, float Y, float Z=0.0f)
 HPointKey (HPoint const *p)
 HPointKey (HPoint const &p)
bool operator< (HPointKey const &rhs) const
bool operator<= (HPointKey const &rhs) const
bool operator> (HPointKey const &rhs) const
bool operator>= (HPointKey const &rhs) const

Detailed Description

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.


Constructor & Destructor Documentation

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.

HPointKey::HPointKey ( HPoint const &  p) [inline]

This constructor accepts an HPoint reference.


The documentation for this class was generated from the following file: