ConcaveHull.jl
ConcaveHull.jl copied to clipboard
Make `in_hull` not allocate and avoid copying vertices
To achieve a "wrapping around" of vertices in in_hull
, the vertices of the hull were previously copied and the first vertex pushed to the resulting vector. This is unnecessary work and can be done using Julia's mod1
function as well.