Skip to content

Commit

Permalink
Use latest version of ExactPredicates
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVandH committed Feb 5, 2024
1 parent 6f27231 commit f734d26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DelaunayTriangulation"
uuid = "927a84f5-c5f4-47a5-9785-b46e178433df"
authors = ["Daniel VandenHeuvel <[email protected]>"]
version = "0.8.12"
version = "0.8.13"

[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Expand All @@ -13,7 +13,7 @@ SimpleGraphs = "55797a34-41de-5266-9ec1-32ac4eb504d3"
[compat]
DataStructures = "0.18"
EnumX = "1.0"
ExactPredicates = "2.2"
ExactPredicates = "2.2.8"
SimpleGraphs = "0.8"
julia = "1"
Random = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/predicates/general.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Returns `ExactPredicates.incircle(a, b, c, p)`, in particular we return:
\\text{incircle}(a, b, c, d) = \\text{sgn} \\det \\begin{vmatrix} a_x & a_y & a_x^2 + a_y^2 & 1 \\\\ b_x & b_y & b_x62 + b_y^2 & 1 \\\\ c_x & c_y & c_x^2 + c_y^2 & 1 \\\\ d_x & d_y & d_x^2 + d_y^2 & 1 \\end{vmatrix} = \\text{sgn} \\det \\begin{vmatrix} a_x - d_x & a_y - d_y & (a_x - d_x)^2 + (a_y - d_y)^2 \\\\ b_x - d_x & b_y - d_y & (b_x - d_x)^2 + (b_y - d_y)^2 \\\\ c_x - d_x & c_y - d_y & (c_x - d_x)^2 + (c_y - d_y)^2 \\end{vmatrix}.
```
"""
incircle_predicate(a, b, c, p) = incircle(_getxy(a), _getxy(b), _getxy(c), _getxy(p))
incircle_predicate(a, b, c, p) = (@show a, b, c, p; incircle(_getxy(a), _getxy(b), _getxy(c), _getxy(p)))

"""
parallelorder_predicate(a, b, p, q)
Expand Down

0 comments on commit f734d26

Please sign in to comment.