The equation of an ellipse rotated by A
is
((x * cos(A) + y * sin(A)) / a) ** 2 + ((x * sin(A) - y * cos(A)) / b) ** 2 == 1
We know the (x, y)
of two points (the poles) and the major radius a
so, in theory we could solve for A
and b
, the two parameters we need.