Skip to content

Commit

Permalink
chore(docs): try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeertmans committed May 27, 2024
1 parent 2565967 commit 403f246
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions differt2d/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,6 @@ def segments_intersect(
Division by zero may occur if the two segments are colinear.
:References:
Code inspired from "Graphics Gems III - 1st Edition", section IV.6.
https://www.realtimerendering.com/resources/GraphicsGems/gemsiii/insectc.c
http://www.graphicsgems.org/
:param P1:
The coordinates of the first point of the first segment.
:param P2:
Expand Down Expand Up @@ -142,6 +135,13 @@ def segments_intersect(
Array(True, dtype=bool)
>>> segments_intersect(P1, P2, P3, P4, approx=True, function=sigmoid)
Array(1., dtype=float32)
:References:
Code inspired from "Graphics Gems III - 1st Edition", section IV.6.
https://www.realtimerendering.com/resources/GraphicsGems/gemsiii/insectc.c
http://www.graphicsgems.org/
"""
tol = jnp.asarray(tol)
A = P2 - P1
Expand Down

0 comments on commit 403f246

Please sign in to comment.