Skip to content

Commit

Permalink
examples for is_half_edge_strebel
Browse files Browse the repository at this point in the history
  • Loading branch information
videlec committed Nov 4, 2024
1 parent 3e88e41 commit c32885c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions veerer/veering_triangulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4332,6 +4332,23 @@ def parallel_cylinders(self, col=RED):
def is_half_edge_strebel(self, e, slope=VERTICAL, check=True):
r"""
Return whether ``e`` is a Strebel half-edge.
A half-edge is vertical Strebel (resp. horizontal strebel), if the
vertical (resp. horizontal) band that is based on this half-edge does
not hit a conical singularity (ie all trajectories are infinite and
converge to a common pole).
EXAMPLES::
sage: from veerer import *
sage: vt = VeeringTriangulation("(0,~3,2)(1,3,~2)", boundary="(~1:2,~0:2)", colouring="BBRR")
sage: for (e0, e1) in vt.edges():
....: print(e0, vt.is_half_edge_strebel(e0), e1, vt.is_half_edge_strebel(e1))
0 True 7 True
1 True 6 True
2 False 5 False
3 True 4 True
"""
if check:
e = self._check_half_edge(e)
Expand Down

0 comments on commit c32885c

Please sign in to comment.