TetMesh.compute_orientation()

Lives in: pygamer.tetmesh

TetMesh.compute_orientation(self: pygamer.tetmesh.TetMesh) → Tuple[int, bool, bool]

Compute 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)