EllipseFromFivePoints | R Documentation |
Return an ellipse from five given points on this ellipse.
EllipseFromFivePoints(P1, P2, P3, P4, P5)
P1, P2, P3, P4, P5 |
the five points |
An Ellipse
object.
ell <- Ellipse$new(c(2,3), 5, 4, 30)
set.seed(666)
pts <- ell$randomPoints(5, "on")
ell2 <- EllipseFromFivePoints(pts[1,],pts[2,],pts[3,],pts[4,],pts[5,])
ell$isEqual(ell2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.