Register to reply 
Finding circle center from two points and an arc lengthby MegatronX
Tags: circles arcs 
Share this thread: 
#1
Sep2911, 07:16 PM

P: 5

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.
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 


#2
Sep2911, 09:36 PM

HW Helper
Thanks
PF Gold
P: 7,661




#3
Sep2911, 09:44 PM

P: 5

by starting angle I'm referring to the the angle the starting point makes relative to the center. That is where the arc angle starts (its just simply the angle the starting point makes)



#4
Sep2911, 09:48 PM

HW Helper
Thanks
PF Gold
P: 7,661

Finding circle center from two points and an arc length



#5
Sep2911, 10:00 PM

P: 5

In thi case the positive xaxis (angle 0) (originating from the center) and the radius from C to A form the starting angle. Now that I think about it, the starting angle doesnt need to be given, it can be derived by which point A or B forms the lesser starting angle.



#6
Sep2911, 10:30 PM

P: 5

No, C is the unknown and it can be anywhere. Its directly dependent on A and B. I know point A, point B and the angle of the arc that needs to be drawn between them. I assumed I'd need to provide a starting angle for the arc but now I don't think that's necessary.
In the drawing, C is the center of the circle that describes the arc between A and B. If it's possible, i want to be able to find C (the center of the circle) without solving a system of linear equations as that is proving to be difficult when solving. programmatically. I'm sorry, i guess I'm not making this clear enough heh. Thansk for the help so far though :) 


#7
Sep2911, 10:37 PM

HW Helper
Thanks
PF Gold
P: 7,661

Then if O is the origin, the coordinates of the center are OA+ (1/2)ABą hV, with the sign chosen depending on which side of AB the center is on. 


#8
Sep3011, 01:10 AM

P: 5

That works great
Thank you 


Register to reply 
Related Discussions  
Finding Points on the Unit Circle  General Math  6  
Define Circle Knowing Two Points and ARC LENGTH Only.  General Math  4  
Center,Radius of a 3 Dimensional circle given 3 points  Precalculus Mathematics Homework  1  
Finding the Center of a circle  Introductory Physics Homework  6  
Given a locus of points, show that it is a circle (find its radius and center)  Calculus & Beyond Homework  1 