Abstract interface to write unstructured surface mesh topology. More...
#include <MeshVizXLM/extrmesh/topology/MeWSurfaceTopologyExplicitI.h>
Public Member Functions | |
virtual void | addPolygon (size_t numNodes, const size_t *nodeIds)=0 |
This interface is used by the existing tessellator instances (see MiTessellator) to write the topology of the tessellated surface meshes. It is designed to allow the application to implement its own tessellator class.
virtual void MeWSurfaceTopologyExplicitI::addPolygon | ( | size_t | numNodes, | |
const size_t * | nodeIds | |||
) | [pure virtual] |
Add a new tessellated surface cell in the topology.
For instance if the tessellator builds the tessellated mesh using always triangles, this method is called by giving the 3 node ids for each triangle of the tessellation.
[in] | numNodes | Number of nodes in the tessellated surface cell. |
[in] | nodeIds | List of nodes id in the tessellated surface cell. |