curver.kernel.twist.Twist

class curver.kernel.twist.Twist(curve, power)[source]

Bases: curver.kernel.moves.FlipGraphMove

This represents the effect of twisting a short curve.

This format allows us to efficiently perform powers of twists.

apply_homology(homology_class)[source]

Return the homology class obtained by mapping the given homology class through this move.

apply_lamination(lamination)[source]

Return the lamination obtained by mapping the given lamination through this move.

encode()

Return the Encoding induced by this move.

flip_mapping()[source]

Return a Mapping equal to self.encoding() but that only uses EdgeFlips and Isometries.

inverse()[source]

Return the inverse of this move.

package()[source]

Return a small amount of data such that self.source_triangulation.encode([data]) == self.encode().

pl_action(multicurve)[source]

Return the PartialLinearFunction that this FlipGraphMove applies to the given multicurve.