.Net computes an angle by intersection of ellipse with a ray java does the following: x1 = d1*cos(a), y1 = d2*sin(a) where: d1 = width/2, d2 = height/2 we need to find angle x, which satisfies: x1 = m*cos(a) = d1*cos(x) y1 = m*sin(a) = d2*sin(x) (x1*x1)/(d1*d1) + (x2*x2)/(d2*d2) = 1
@param sqrd1Tod2 (d1/d2)*(d1/d2) @param angle angle in degrees @return converted angle in degrees