Class AdjFaceList

3DS Max Plug-In SDK

Class AdjFaceList

See Also: Class AdjFace, Class AdjEdgeList.

class AdjFaceList

Description:

This class represents a face adjacency list for meshes. This class require the mesh to be constructed so that each edge has exactly one or two faces. It will work with other meshes but may give misleading results (developers may wish to call mesh.RemoveDegenerateFaces() to attempt to correct the mesh to work with this class). All methods of this class are implemented by the system.

Data Members:

public:

Tab<AdjFace> list;

The table of adjacent faces, one for each face.

Methods:

Prototype:

AdjFaceList(Mesh& mesh,AdjEdgeList& el);

Remarks:

Constructor. The mesh and edge list passed define the mesh used to construct the face list.

Operators:

Prototype:

AdjFace& operator[](int i);

Remarks:

Access operator. Returns the set of adjacent face for the i-th face.