Finding the center point of a non planar curve

Hello,
how does one go about in finding the center point of that voronoi cell? I tried using area but that only works with planar curves. Please Help
Center of non planar curve.gh (45.9 KB)

One way might be to sample the curves (as fine as you want) and then average the points.

extract two boundary curves from the cells loft them and use volume centroid, if you need it only from one boundary curve use patch offset the surface with option both and solid then use volume centroid