Public Member Functions

SubObjHitList Class Reference

Search for all occurrences

Detailed 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.

#include <mesh.h>

Inheritance diagram for SubObjHitList:
Inheritance graph
[legend]

List of all members.

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.

SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList
SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList SubObjHitList