Would you know any existing code to extract the center curve of a mesh or a point cloud? The center curve of a mesh is equidistant to its boundaries.
I looked at several questions/answers posted already such as this one on a planar polygon but could not find one that explains results in 3D such as the one shown in this paper and this one on "point cloud skeletonization through Laplacian-Based Contraction" where this quadratic equation comes back in both.
There is also the approach described in this paper on 3D Mesh Skeleton Extraction using prominent Segmentation based on "connecting rings".
So far the closest i got to making it work is the Skeletonize3D plugin for ImageJ but I could not make it works for an .obj mesh yet.