I was wondering if somebody could help me, I can do it on pen and paper using a compass, but can’t do it in Actionscript 3.
As the title says, essentially I need to find the centre of a circle using multiple points from the radius.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You want the Equation for a Circle from 3 Points. Dr. Math also has some nice explanations on your question.
Edit: I’ve implemented this in JavaScript + SVG; you can see the interactive result on my website:
http://phrogz.net/SVG/3-point-circle.xhtml
Here’s the relevant code (I’ve created a
Pointclass like in ActionScript with.xand.yproperties):Edit 2: For fun, instead of 3 points defining one circle, how about 6 points defining 20? 🙂
http://phrogz.net/SVG/3-point-circle2.xhtml