I have a circle line, where I know two things:
- The diameter of the full circle
- The height and width of the bounding box around the circle line
Using that, I want to find the angle of the circle line. (At least up to 270 degrees. After that, both the bounding box width and height will, of course, be equal to the diameter.)
Up to 180° (Figure A) we can use the bounding box height to calculate the angle (0 to
From 180-270° (Figure B) we can use the width (the range from
diameter) to figure out how much of those 90°s are spent.
But since I don't know how circles and curves work, I'm stuck, sad and kind of scared.
Is anyone out there able to explain how, as if I'm five years old? (Because when it comes to maths, I practically am.)