ellipseToConicMatrix {RConics} | R Documentation |
Transformation of the ellipse parameters into the matrix representation
Description
Transformation of the ellipse parameters (Cartesian coordinates of the
ellipse center, length of the semi-axes and angle of rotation) into the
(3 \times 3)
into the matrix representation of conics.
Usage
ellipseToConicMatrix(saxes = c(1, 1), loc = c(0, 0), theta = 0)
Arguments
saxes |
a |
loc |
a |
theta |
the angle of rotation of the ellipse (in radians). |
Value
A (3 \times 3)
matrix that represents the ellipse.
See Also
Examples
# Ellipse parameters
saxes <- c(5,2)
loc <- c(0,0)
theta <- pi/4
# Matrix representation of the ellipse
C <- ellipseToConicMatrix(saxes,loc,theta)
[Package RConics version 1.1.1 Index]