geometry-central
geometry-central copied to clipboard
How to export "Flip Geodesic" result as mesh ?
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 :
-
FlipEdgeNetwork::savePath()
: seems not to be implemented -
FlipEdgeNetwork::savePathOBJLine( ..., /*with_all* true)
: gives me a mesh including faces with fewer than 3 vertices
Thanks