Skip to content

Commit

Permalink
Complete docstring for 'edges_intersect' function
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Dec 18, 2020
1 parent 695f00a commit 3b6bbce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bentley_ottmann/planar.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def edges_intersect(contour: Contour,
>>> from ground.geometries import to_contour_cls, to_point_cls
>>> Contour, Point = to_contour_cls(), to_point_cls()
>>> edges_intersect(Contour([Point(0., 0.), Point(2., 0.), Point(2., 2.)]))
>>> edges_intersect(Contour([Point(0, 0), Point(2, 0), Point(2, 2)]))
False
>>> edges_intersect(Contour([Point(0., 0.), Point(2., 0.), Point(1., 0.)]))
>>> edges_intersect(Contour([Point(0, 0), Point(2, 0), Point(1, 0)]))
True
"""
vertices = contour.vertices
Expand Down

0 comments on commit 3b6bbce

Please sign in to comment.