Public Member Functions | Public Attributes

ShapeSubHitRec Class Reference

Search for all occurrences

Detailed Description

See also:
Class BezierShape.

Description:
This class contains a hit record for sub-shape hit testing. All methods of this class are implemented by the system.
Data Members:
DWORD dist;

The distance of the hit. If the user is in wireframe mode, this is the distance in pixels to the item that was hit. If the user is in shaded mode, this is the Z depth distance. Smaller numbers indicate a closer hit.

BezierShape* shape;

The shape that was hit.

int poly;

The polygon that was hit.

int index;

The index of the sub-object component that was hit.

#include <shape.h>

Inheritance diagram for ShapeSubHitRec:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  ShapeSubHitRec (DWORD dist, BezierShape *shape, int poly, int index, ShapeSubHitRec *next)
ShapeSubHitRec Next ()

Public Attributes

DWORD  dist
BezierShape shape
int  poly
int  index

Constructor & Destructor Documentation

ShapeSubHitRec ( DWORD  dist,
BezierShape shape,
int  poly,
int  index,
ShapeSubHitRec next 
) [inline]
Remarks:
Constructor. The data members are initialized to the values passed.
            { this->dist = dist; this->shape = shape; this->poly = poly; this->index = index; this->next = next; }

Member Function Documentation

ShapeSubHitRec* Next ( ) [inline]
Remarks:
Returns the next sub hit record.
{ return next; }

Member Data Documentation

DWORD dist
int poly
int index

ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec
ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec ShapeSubHitRec