SurfaceMesh.compute_orientation()

Lives in: pygamer.surfacemesh

SurfaceMesh.compute_orientation(self: pygamer.surfacemesh.SurfaceMesh)Tuple[int, bool, bool]

Compute the orientations of the mesh.

This is equivalent to the following series of calls:

>>> init_orientation(mesh)
>>> clear_orientation(mesh)
>>> check_orientation(mesh)
Returns

Tuple containing: number of connected components, orientability status, and manifoldness.

Return type

tuple (int, bool, bool)