curver.kernel.encoding.Encoding

class curver.kernel.encoding.Encoding(sequence)[source]

Bases: object

This represents a map between two Triangulations.

The map is given by a sequence of Moves which act from right to left.

inverse()[source]

Return the inverse of this encoding.

package()[source]

Return a small amount of info that self.source_triangulation can use to reconstruct this triangulation.

promote()[source]

Return this Encoding in its finest form.