Centroid of a triangle with triangular hole

jonbenedick shared this question 10 years ago
Answered

Is there a faster way to determine the centroid of a triangle with triangular hole?

Comments (2)

photo
1

Hi,

    G = Barycenter[{Centroid[poly1], Centroid[poly2]}, {Area[poly1], -Area[poly2]}]

?

Cheers.

Michel.

https://ggbm.at/562945

photo
1

Thanks! I tried two holes, using your formula, and it works!

© 2023 International GeoGebra Institute