Say that I know which are the centroids of two polygons. These polygons share a number of edges (they belong to a planar subdivision). I want to compute the union of the two polygons and also to know the centroid of the new polygon which covers the other two. I know I could recompute the centroid taking the points of the new polygon. But, is there a way to obtain the centroid by knowing the other centroids, without the need for recomputing everything from scratch?

Isaac Barry

Isaac Barry

Answered question

2022-09-03

Centroid of contiguous polygons
Say that I know which are the centroids of two polygons. These polygons share a number of edges (they belong to a planar subdivision). I want to compute the union of the two polygons and also to know the centroid of the new polygon which covers the other two. I know I could recompute the centroid taking the points of the new polygon. But, is there a way to obtain the centroid by knowing the other centroids, without the need for recomputing everything from scratch?

Answer & Explanation

falwsay

falwsay

Beginner2022-09-04Added 8 answers

Step 1
If, when you computed the centroids, you also computed the polygon areas, then the answer is yes. The new centroid is c new = A 1 A 1 + A 2 c 1 + A 2 A 1 + A 2 c 2 ,, where the A i are the areas and the c i are the centroid points.
Step 2
By the way, you can also compute the new area with the update rule A new = A 1 + A 2 ..
I know that's silly, but if you're hoping to proceed inductively, it's actually pretty useful.
By the way, the two polygons under consideration need not be adjacent. On the other hand, they must not overlap, unless you're willing to consider the overlap area as counted twice.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in High school geometry

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?