tags:

views:

186

answers:

2

Given a circle with a known center point and two points on the circle (thus known radius), how do I determine the angle of the minimum arc between the two points on the circle?

+2  A: 

Turn the center to the two points into a pair of vectors, then shove through this.

So, cos-1 ((x1x2 + y1y2 + z1z2) / r2).

Ignacio Vazquez-Abrams
Thank you, this is what I was looking for.
par
A: 

Here is a detailed explanation.

John D. Cook
That's for spherical geometry, not Euclidean geometry.
Ignacio Vazquez-Abrams
If you pass a plane through the two points on a sphere, you have a circle in the Euclidean plane.
John D. Cook