As discovered by @tigerchenlu98, the poly_to_parametric function in squishyplanet.engine.parametric_ellipse, which converts the $\rho$ coefficients that describe the ellipse in an implicit form to $c$ coefficients that describe it in a parametric form, can return an ellipse that's rotated by 90 degrees in the sky plane. Thankfully, it looks like this does not happen when using it within the usual squishyplanet workflow: I can't find a set of $\rho$ coefficients generated after creating an OblateSystem that do not map to the correct $c$ coefficients. But, it's possible to fool the function when providing coefficients that were generated externally:
Fixed via a re-write of the poly_to_parametric_helper function, which now converts the 2D implicit coefficients to the 2D parametric coefficients through some algebra instead of solving an eigenvalue system.
As discovered by @tigerchenlu98, the
poly_to_parametric
function insquishyplanet.engine.parametric_ellipse
, which converts the $\rho$ coefficients that describe the ellipse in an implicit form to $c$ coefficients that describe it in a parametric form, can return an ellipse that's rotated by 90 degrees in the sky plane. Thankfully, it looks like this does not happen when using it within the usualsquishyplanet
workflow: I can't find a set of $\rho$ coefficients generated after creating anOblateSystem
that do not map to the correct $c$ coefficients. But, it's possible to fool the function when providing coefficients that were generated externally: