potpourri3d icon indicating copy to clipboard operation
potpourri3d copied to clipboard

Can the position coordinates of the contour line be obtained?

Open cheng-c210 opened this issue 4 years ago • 1 comments

image image At present, the isoline distance field generated by potpourri3d and polyscope cannot achieve the same effect as in the paper, and the isoline coordinates cannot be obtained. Can this problem be fixed or suggestions for the algorithm of the isoline?

cheng-c210 avatar Sep 05 '21 06:09 cheng-c210

I would recommend using igl for this step: https://github.com/libigl/libigl-python-bindings/

you can then call: isoV, isoE = igl.isolines(V, F, z, n)

where V #V by dim list of mesh vertex positions F #F by 3 list of mesh faces (must be triangles) z #V by 1 list of function values evaluated at vertices n the number of desired isolines

also look here for reference: https://libigl.github.io/libigl-python-bindings/igl_docs/#isolines

fstwn avatar Dec 02 '21 19:12 fstwn