Center point of arc

I've one more question please.
 There is an arc having 11 x,y points. How to calculate coordinates of center of this arc?

Who is Participating?
kotanConnect With a Mentor Commented:

centerX = sum(x1,x2,...,x11)/11;
centerY = sum(y1,y2,...,y11)/11;

centerpoint is (centerX, centerY)
Suppose (x,y) are the co-ordinates of the centre of arc.
Let (x1,y1) and (x2,y2) be two of the points on arc.
Then :
(x-x1)^2+(y-y1)^2=r^2 where r is the radius.
So equate these two equations to get the centre of circle which (x,y)
With regards,
..and you shouldmake sure all pairs result in the same centerpoint
Sorry, that ain't right.

Given any two points, there are an infinite number of different arcs that pass through both.

You can see this because if you do what kartik suggested, you get:


1 equation with 2 unknowns (x and y) has an infinite number of solutions.

So you need *three* points, from which you can get *two* equations:


and now you really can solve for x and y.

kotan answered the question `how do I find the center of mass of the arc' rather than `how do I find the center of the circle of which the arc belongs to' .. if that was what you intended, then his answer is correct.
mansanAuthor Commented:
Thanks you all for kind help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.