powered by
Return an ellipse from the coefficients of its implicit equation.
EllipseFromEquation(A, B, C, D, E, F)
the coefficients of the equation
An Ellipse object.
Ellipse
The implicit equation of the ellipse is Ax<U+00B2> + Bxy + Cy<U+00B2> + Dx + Ey + F = 0. This function returns the ellipse given A, B, C, D, E and F.
Ax<U+00B2> + Bxy + Cy<U+00B2> + Dx + Ey + F = 0
# NOT RUN { ell <- Ellipse$new(c(2,3), 5, 4, 30) cf <- ell$equation() ell2 <- EllipseFromEquation(cf[1], cf[2], cf[3], cf[4], cf[5], cf[6]) ell$isEqual(ell2) # }
Run the code above in your browser using DataLab