Computes the Euler characteristic chi=V-E+F of the mesh. The mesh is a convex polyhedron IFF chi==2.

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


public int EulerCharacteristic()
Visual Basic (Declaration)
Public Function EulerCharacteristic As Integer
Visual C++
int EulerCharacteristic()

Return Value

Returns the Euler characteristic of the mesh.


The Euler characteristic is a topological invariant. It is chi=V-E+F where V is the number of vertices of the mesh, E is the number of edges and F is the number of faces.

See Also