
Returns the smallest area ellipse which passes through three given boundary points.
EllipseFromThreeBoundaryPoints(P1, P2, P3)
An Ellipse
object.
three non-collinear points
P1 <- c(-1,0); P2 <- c(0, 2); P3 <- c(3,0)
ell <- EllipseFromThreeBoundaryPoints(P1, P2, P3)
ell$includes(P1); ell$includes(P2); ell$includes(P3)
Run the code above in your browser using DataLab