Thanks routercnc, that is in essence what the solution posted by irving actually is, only the equations have been bashed about already to give the solution. The only difference being that instead of using:-
The equation for a circle (x^2 + y^2 = r^2)
then you use the parametric equation for a circle of :-
x = r SIN(theta)
y = r COS(theta)