This class is a new form of HitData used for hit-testing diagonals of polygons in Editable Poly and Edit Poly.
See example usage in the Editable Poly object, in maxsdk/samples/mesh/EditablePoly, as well as in the Edit Poly modifier, in maxsdk\samples\mesh\EditPoly
#include <mnmesh.h>
Public Member Functions |
|
MNDiagonalHitData (int face, int diagonal) | |
Constructor. Sets mFace and mDiagonal to the
face and diagonal given. |
|
~MNDiagonalHitData () | |
Destructor. |
|
Public Attributes |
|
int | mFace |
mFace and mDiag are the data members
describing the face and diagonal hit. |
|
int | mDiag |
MNDiagonalHitData | ( | int | face, |
int | diagonal | ||
) | [inline] |
~MNDiagonalHitData | ( | ) | [inline] |
Destructor.
{ }
int mFace |
mFace and mDiag are the data members describing the face and diagonal hit.
(For each face with degree "deg", there are deg-3 diagonals.)