Skip to main content Module genus Copy item path Source GenusRenderer Generates mesh vertices for visualizing surfaces of various genus. SurfaceType Classification of closed surfaces by genus and orientability. classify_surface Classify a closed surface from its Euler characteristic and orientability. connected_sum Compute the connected sum of two surfaces.
For orientable: genus adds.
For non-orientable: non-orientable genus adds.
Orientable + non-orientable = non-orientable. euler_characteristic Compute the Euler characteristic: V - E + F. genus_from_mesh Compute the genus of a closed orientable surface from a mesh.
genus = (2 - chi) / 2 for orientable surfaces.