ConcaveHull.jl icon indicating copy to clipboard operation
ConcaveHull.jl copied to clipboard

Make `in_hull` not allocate and avoid copying vertices

Open andreasKroepelin opened this issue 1 year ago • 0 comments

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.

andreasKroepelin avatar Feb 02 '24 14:02 andreasKroepelin