Public Member Functions | Public Attributes

MNDiagonalHitData Class Reference

Search for all occurrences

Detailed Description

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>

Inheritance diagram for MNDiagonalHitData:
Inheritance graph
[legend]

List of all members.

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

int mDiag

MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData
MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData MNDiagonalHitData