MNDiagonalHitData Class Reference
 
 
 
MNDiagonalHitData Class Reference

#include <mnmesh.h>

Inheritance diagram for MNDiagonalHitData:
HitData MaxHeapOperators

Class Description

This class is used for hit-testing diagonals of polygons in Editable Poly and Edit Poly.

When this data is logged with the system, the memory is owned and freed by the System. 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

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

Constructor & Destructor Documentation

MNDiagonalHitData ( int  face,
int  diagonal 
) [inline]

Constructor. Sets mFace and mDiagonal to the face and diagonal given.

: mFace(face), mDiag(diagonal) { }
~MNDiagonalHitData ( ) [inline]

Destructor.

{ }

Member Data Documentation

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