SubObjHitList Class Reference
 
 
 
SubObjHitList Class Reference

#include <mesh.h>

Inheritance diagram for SubObjHitList:
MaxHeapOperators

Class Description

This class describes a list of sub-object hit records.

All methods of this class are implemented by the system.

See also:
Class MeshSubHitRec.

Public Member Functions

  SubObjHitList ()
  Constructor.
DllExport  ~SubObjHitList ()
  Destructor.
MeshSubHitRec First ()
  Returns the first item in the hit list.
DllExport void  AddHit (DWORD dist, int index)
  Allocates and adds a new hit record to the list.

Constructor & Destructor Documentation

SubObjHitList ( ) [inline]

Constructor.

The list is set to NULL.

{ first = NULL; }
DllExport ~SubObjHitList ( )

Destructor.

All the hit records are deleted.


Member Function Documentation

MeshSubHitRec* First ( ) [inline]

Returns the first item in the hit list.

{ return first; }
DllExport void AddHit ( DWORD  dist,
int  index 
)

Allocates and adds a new hit record to the list.

Parameters:
dist The distance of the hit.
index The index of the hit.