Translation | R Documentation |
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.
print()
Show instance of a translation object.
Translation$print(...)
...
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
transform()
An alias of translate
.
Translation$transform(M)
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.