nmwsharp / geometry-central

Applied 3D geometry in C++, with a focus on surface meshes.
https://geometry-central.net
MIT License
1.01k stars 141 forks source link

How to export "Flip Geodesic" result as mesh ? #143

Open Debize opened 1 year ago

Debize commented 1 year ago

Hi, I'm playing with "Flip Geodesic" and everything is fine (Dijkstra > Shorten > delaunayRefine > getPathPolyline3D / getAllEdgePolyline3D) .

Is there any function able to convert the final edges from getAllEdgePolyline3D() (being a vector of pairs of Vector3) into a simple mesh with faces & vertices (like the orange mesh displayed by ./bin/flip-geodesics-demo) ?

I have tried :

Thanks