flipper.kernel.triangulation3.Triangulation3

class flipper.kernel.triangulation3.Triangulation3(num_tetrahedra)[source]

Bases: object

This represents triangulation, that is a collection of tetrahedra.

assign_cusp_indices()[source]

Assign the tetrahedra in this triangulation their cusp indices and return the list of corners in the same cusp.

This triangulation must be closed.

clear_temp_peripheral_structure()[source]

Remove all TEMP peripheral curves.

cusp_identification_map()[source]

Return a dictionary pairing the sides of the peripheral triangles.

install_peripheral_curves()[source]

Assign a longitude and meridian to each cusp.

Assumes (and checks) the link of each vertex is a torus.

intersection_number(peripheral_type_a, peripheral_type_b, cusp=None)[source]

Return the algebraic intersection number between the specified peripheral types.

See SnapPy/kernel_code/intersection_numbers.c for more information.

Convention:

   ^ B
   |
---+---> A
   |
   |

has intersection <A, B> := +1.

is_closed()[source]

Return if this triangulation is closed.

is_veering()[source]

Return if this triangulation is veering.

slope()[source]

Return the slope of the peripheral curve in TEMPS relative to the set meridians and longitudes.

Assumes that the meridian and longitude on this cusp have been set.

snappy_string(name='flipper triangulation', fillings=None)[source]

Return the SnapPy string describing this triangulation.

If given, fillings is a list of slopes to perform Dehn filling along on each of the cusps.

This triangulation must be closed.