Skip to content

Commit

Permalink
Always discretize Polygon with Dehn1899
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Nov 25, 2023
1 parent 35d54d3 commit 66678b0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discretization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ simplexify(box::Box{2}) = discretize(box, FanTriangulation())

simplexify(box::Box{3}) = discretize(box, Tetrahedralization())

simplexify(poly::Polygon) = discretize(poly, isconvex(poly) ? FanTriangulation() : Dehn1899())
simplexify(poly::Polygon) = discretize(poly, Dehn1899())

simplexify(poly::Polyhedron) = discretize(poly, Tetrahedralization())

Expand Down
Binary file modified test/data/trirefine-Float32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/data/trirefine-Float64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 66678b0

Please sign in to comment.