I'm trying to find the equation for a circle given two points in x, y and the starting angle, arc length, and two points along the circle. I need to find the equation because I need to translate a sprite along the curved path from one point to another.(adsbygoogle = window.adsbygoogle || []).push({});

The situation ends up looking like this:

A

|\

|a\

|--\

|---\

----c C

|---/

|--/

|b/

|/

B

A = point 1

B = point 2

C = center of the circle

the arc travels from a to b

c = arc angle

Now, I can clearly determine the length of all sides as well as the angles. thats not problem. I can use that to make a system of equations and solve them together. This works, but the problem is that I need to be able to do this programmatically, and attempting to solve systems of equations in C++ is proving to be pretty difficult. I was hoping there was a more straight forward/easy way to find the center when two points are know and all the angles/lengths are known.

Thanks in advance for any help

**Physics Forums - The Fusion of Science and Community**

# Finding circle center from two points and an arc length

Know someone interested in this topic? Share a link to this question via email,
Google+,
Twitter, or
Facebook

Have something to add?

- Similar discussions for: Finding circle center from two points and an arc length

Loading...

**Physics Forums - The Fusion of Science and Community**