Answer the question
In order to leave comments, you need to log in
How can you find the centroid of four points ( Quadrilateral ), knowing the coordinates of these vertices?
I would be very grateful for the formula.
Answer the question
In order to leave comments, you need to log in
It's well written here .
First you need to triangulate the quadrilateral. Then, the center of mass of each triangle is the arithmetic mean of the coordinates. Further, it remains to find the center of mass of two points - the centers of mass of triangles, where at each point there is a mass equal to the area of the triangle.
For this to work with non-convex polygons, you need to calculate the area of triangles in terms of the cross product of the sides, thus allowing negative areas for triangles outside your figure.
Final formula (in vectors):
C = ((p1+p2+p3)/3*(p1p2*p1p3)+(p3+p4+p1)/3*(p1p3*p1p4))/((p1p2*p1p3)+(p1p3*p1p4))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question