Hacker News new | past | comments | ask | show | jobs | submit login
Geometry Central: library of data structures, algorithms for geometry processing (geometry-central.net)
151 points by jasondavies on April 17, 2023 | hide | past | favorite | 10 comments



GITHub is here [0], and this is under an MIT license - which I couldn't find on the documentation site.

[0] https://github.com/nmwsharp/geometry-central


I'm looking for a good half-edge mesh library to use with Unity. In theory anything with C bindings should work. Only issue is I'll need a dll or equivalent for Windows, Linux, MacOS (including Apple Silicon) and Android.

Anyone tried compiling this for Android? I'm a C++ dummy so it needs to be trivially easy. I usually waste an entire afternoon every time I tackle trying to compile native code.




I've actually got my own (partly - the core halfedge stuff is from another C# project).

But it's performance I'm after. I have three options: 1. Burst compilation 2. Offload to the GPU (not sure if this is even a good use case for GPU compute) 3. Find a native library.

(3) is potentially a quick fix but might limit my ability to add functionality. But it also offers the tempting possibility of getting a ton of functionality for "free".


A more detailed comparison to CGAL would be helpful...


Check out libigl too

https://libigl.github.io/


Behind the confusing name, it's a C++ code library, not a document library.


Why would there be a document library of data structures and algorithms?


We usually call this a "book".




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: