AffineMappingEllipse2Ellipse {PlaneGeometry} | R Documentation |
Affine transformation mapping a given ellipse to a given ellipse
Description
Return the affine transformation which transforms
ell1
to ell2
.
Usage
AffineMappingEllipse2Ellipse(ell1, ell2)
Arguments
ell1 , ell2 |
|
Value
An Affine
object.
Examples
ell1 <- Ellipse$new(c(1,1), 5, 1, 30)
( ell2 <- Ellipse$new(c(4,-1), 3, 2, 50) )
f <- AffineMappingEllipse2Ellipse(ell1, ell2)
f$transformEllipse(ell1) # should be ell2
[Package PlaneGeometry version 1.6.0 Index]