hypertidy/anglr

DEL0 is broken for polygons

mdsumner opened this issue · 2 comments

It's not working at all

mesh_plot(DEL0(silicate::minimal_mesh, max_area = .0005))

image

DEL is fine

I had completely left out the segments so we got a rough triangle cull from a raw-point Delaunay! Should make than an option actually just for kicks

Another manifestation, in case it comes up - makes multipolygons look more busted (top right)

library(gibble)
par(mfrow = c(2, 2)); plot(DEL0(mpoly[1, ], max_area =  0.06)); plot(DEL0(mpoly[1, ]), col = "grey") > plot(DEL(mpoly[1, ], max_area = 0.06)); plot(DEL(mpoly[1, ], max_area = 0.06), col = "grey")

image