Method new()
Create a new Affine
object.
Arguments
A
the 2x2 matrix of the affine map
b
the shift vector of the affine map
Returns
A new Affine
object.
Show instance of an Affine
object.
Examples
Affine$new(rbind(c(3.5,2),c(0,4)), c(-1, 1.25))
Method get3x3matrix()
The 3x3 matrix representing the affine map.
Usage
Affine$get3x3matrix()
Method inverse()
The inverse affine transformation, if it exists.
Method compose()
Compose the reference affine map with another
affine map.
Usage
Affine$compose(transfo, left = TRUE)
Arguments
transfo
an Affine
object
left
logical, whether to compose at left or at right (i.e.
returns f1 o f0
or f0 o f1
)
Returns
An Affine
object.
Arguments
M
a point or a two-column matrix of points, one point per row
Arguments
line
a Line
object
Arguments
ell
an Ellipse
object or a Circle
object
Returns
An Ellipse
object.
Method clone()
The objects of this class are cloneable with this method.
Usage
Affine$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.