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: 2.4.0.0 (2.4.0.0)

Syntax

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

Return Value

Returns the Euler characteristic of the mesh.

Remarks

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