Isometry
- class Isometry(*transformations: HomogeneousTransformation)
An
Isometry
is any transformation composed of translations, rotations, and reflections. Under direct isometry, reflections are not included.Its matrix will look like the augmented matrix:
┏ ┓ ┃ M T ┃ ┃ ┃ ┃ Z 1 ┃ ┗ ┛
Where
M
is a 3x3 orthonormal matrix with rank 3,T
is a 3x1 vector, andZ
is a 1x3 matrix containing all zeroes.A
CompositeHomogeneousTransformation
is aCompositeTransformation
closed underHomogeneousTransformation
.- Parameters:
transformations – Transformations composing this transformation, supplied in the order of application (first-in, first-applied).
Attributes
Transformations composing this transformation, supplied in the order of application (first-in, first-applied).
Methods
Apply this
CompositeTransformation
to a vector.Return
True
if composing aCompositeHomogeneousTransformation
withother
would result in creating anotherCompositeHomogeneousTransformation
.Compute all
Isometry
transformations that might embedquery
intarget
.The inverse
HomogeneousTransformation
of this one.- apply(vector: ndarray[3]) ndarray[3]
Apply this
CompositeTransformation
to a vector.
- classmethod closed_under(other: Transformation | Type[Transformation]) bool
Return
True
if composing aCompositeHomogeneousTransformation
withother
would result in creating anotherCompositeHomogeneousTransformation
.
- classmethod compute(query: Shape, target: Shape, parameters: ShapeQueryParameters = ShapeQueryParameters(direct=True, indirect=True, indet_scale=1.0, indet_angle=0.0, indet_fit_max=False, indet_fit_uniform_scale=True)) List[HomogeneousTransformation]
Compute all
Isometry
transformations that might embedquery
intarget
.- Parameters:
query – The shape to embed in
target
.target – The shape to embed
query
in.parameters – The parameters used to calculate the transformations.
- Returns:
The list of all transformations
t
such thatt @ query <= target
andisinstance(t, Isometry)
.
- inverse()
The inverse
HomogeneousTransformation
of this one.
- transformations
Transformations composing this transformation, supplied in the order of application (first-in, first-applied).