Class FaceElementList
See Also: Class AdjEdgeList, Class AdjFaceList.
class FaceElementList
Description:
This class may be used to access the various elements that compose a mesh. Given a Mesh object mesh, the calls below allow a developer to access the element number for a particular face, and the total number of elements in the mesh.
AdjEdgeList ae(mesh);
AdjFaceList af(mesh, ae);
FaceElementList elem(mesh, af);
All methods of this class are implemented by the system.
Data Members:
public:
DWORDTab elem;
This gives the element number for a particular face, i.e. elem[i] gives the element number for face i.
DWORD count;
The total number of elements.
Methods:
Prototype:
FaceElementList(Mesh &mesh, AdjFaceList& af);
Remarks:
Constructor.
Parameters:
Mesh &mesh
The mesh that the element list is being built for.
AdjFaceList& af
The face list for the mesh.
Operators:
Prototype:
DWORD operator[](int i);
Remarks:
Accesses the i-th element of the table.