Open wlinna opened 7 months ago
I tried this again with both geo 0.27
and geo 0.28
, and it looks like nothing changed with concave hull itself. Both versions result in following coordinates
-4.9266057 -8.45025 -4.8016057 -8.45025 5.1734996 1.4128553 5.1734996 1.5378553 -4.9266067 1.5378562 -4.9266057 -8.45025
However, I'm not sure anymore how I produced the original 3D model of the concave hull. When I generate it now, it looks like this
I checked the printed coordinates visually one by one, and they correspond with the generated triangle mesh.
So at least the algorithm produces a convex hull. But I can't make it produce the original shape.
I'm testing concave_hull with a simple polygon, and concave_hull returns very weird results. Here are the screenshots
Original polygon![OriginalPolygon](https://github.com/georust/geo/assets/1473454/882b8dcb-911c-4d62-a3c7-fec73bde6b12)
Concave hull![FailedConcaveHull](https://github.com/georust/geo/assets/1473454/3307ce7e-a53a-43d9-9678-e6a668859c13)
Here's the test code
I'm using
geo 0.27.0
with Rustc 1.72