Hello GH Community,
I need to find the centroid of a group of curves instead of each individual curve centroid. “Group” does not allow me to use “area” component to locate the common centroid of the grouped curves.

Is there a way to locate the centroid of a group of curves?

I have hundreds of move translations i would like to make. Thanks for your time community. Centroid Group.gh (5.3 KB)

If you want to do it the way how it is done in Rhino (_AreaCentroid command) what is right way how to do, then you should calculate it as Weighted arithmetic mean. The code in C# component is simple:

So essentially I have a series of boxes (their amount and heights driven by sliders), and I’d like to determine centre of all of them. Using Average gives me all the central points, and I would like just one central point