Module genus

Source
Expand description

Topological genus from the Euler characteristic.

For a closed orientable surface, V - E + F = 2 - 2g. The formula is only meaningful on a closed two-manifold, so this refuses anything else rather than returning a number the caller would have no way to distrust.

Enums§

GenusError
Why a genus could not be computed.

Functions§

genus
Genus of a closed orientable triangle mesh.