Tests if the mesh data structure is consistent.

Namespace:  ceometric.ComputationalGeometry
Assembly:  ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: (


public bool IsMeshConsistent()
Visual Basic (Declaration)
Public Function IsMeshConsistent As Boolean
Visual C++
bool IsMeshConsistent()

Return Value

True if the mesh is consistent, false otherwise.


A mesh is consistent if
  • All vertices are active.
  • All edges are referenced.
  • All triangles are referenced.
  • Incident triangle lists of all vertices are consistent.
  • All triangle vertices are part of the mesh vertex list.
  • Adjacency information is consistent.

See Also