Class ShapeHitData
See Also: Class HitData.
class ShapeHitData : public HitData
Description:
This is a storage class for hit records used in hit testing to know which specific shape object was hit. All methods of this class are implemented by the system.
Data Members:
public:
BezierShape *shape;
The shape that was hit.
int poly;
The polygon of the shape that was hit.
int index;
The index of the sub-object entity that was hit.
Methods:
Prototype:
ShapeHitData(BezierShape *shape, int poly, int index)
Remarks:
Constructor. The data members are initialized to the values passed.