A translation is given by a vector v
.
v
get or set the vector of translation
new()
Create a new Translation
object.
Translation$new(v)
v
a numeric vector of length two, the vector of translation
A new Translation
object.
...
ignored
project()
Transform a point or several points by the reference translation.
Translation$project(M)
M
a point or a two-column matrix of points, one point per row
M
a point or a two-column matrix of points, one point per row
translateLine()
Translate a line.
Translation$translateLine(line)
line
a Line
object
A Line
object.
transformLine()
An alias of translateLine
.
Translation$transformLine(line)
line
a Line
object
A Line
object.
translateEllipse()
Translate a circle or an ellipse.
Translation$translateEllipse(ell)
ell
an Ellipse
object or a Circle
object
An Ellipse
object or a Circle
object.
transformEllipse()
An alias of translateEllipse
.
Translation$transformEllipse(ell)
ell
an Ellipse
object or a Circle
object
An Ellipse
object or a Circle
object.
getMatrix()
Augmented matrix of the translation.
Translation$getMatrix()
A 3x3 matrix.
asAffine()
Convert the reference translation to an Affine
object.
Translation$asAffine()
clone()
The objects of this class are cloneable with this method.
Translation$clone(deep = FALSE)
deep
Whether to make a deep clone.