EllipseFromCenterAndMatrix {PlaneGeometry} | R Documentation |
Ellipse from center and matrix
Description
Returns the ellipse of equation
t(X-center) %*% S %*% (X-center) = 1
.
Usage
EllipseFromCenterAndMatrix(center, S)
Arguments
center |
a point, the center of the ellipse |
S |
a positive symmetric matrix |
Value
An Ellipse
object.
Examples
ell <- Ellipse$new(c(2,3), 4, 2, 20)
S <- ell$matrix()
EllipseFromCenterAndMatrix(ell$center, S)
[Package PlaneGeometry version 1.6.0 Index]