curver.kernel.twist module¶
A module for representing more advanced ways of changing triangulations.
-
class
curver.kernel.twist.
HalfTwist
(arc, power)[source]¶ Bases:
curver.kernel.moves.FlipGraphMove
This represents the effect of half-twisting a short arc.
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.
-
-
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.
-