flipper.kernel.triangulation3.Tetrahedron

class flipper.kernel.triangulation3.Tetrahedron(label)[source]

Bases: object

This represents a tetrahedron.

get_edge_label(a, b)[source]

Return the label on edge (a) – (b) of this tetrahedron.

glue(side, target, permutation)[source]

Glue the given side of this tetrahedron to target via the given permutation.

You are not supposed to unglue tetrahedra as they automatically install a lot of additional structure.

set_edge_label(a, b, value)[source]

Set the label on edge (a) – (b) of this tetrahedron.

snappy_string()[source]

Return the SnapPy string describing this tetrahedron.