CompositeHomogeneousTransformation
- class CompositeHomogeneousTransformation(*transformations: HomogeneousTransformation)
A
CompositeHomogeneousTransformationis aCompositeTransformationclosed 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
CompositeTransformationto a vector.Return
Trueif composing aCompositeHomogeneousTransformationwithotherwould result in creating anotherCompositeHomogeneousTransformation.Compute all
HomogeneousTransformationtransformations that might embedqueryintarget.The inverse
HomogeneousTransformationof this one.- apply(vector: ndarray[3]) ndarray[3]
Apply this
CompositeTransformationto a vector.
- classmethod closed_under(other: Transformation | Type[Transformation]) bool
Return
Trueif composing aCompositeHomogeneousTransformationwithotherwould 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
HomogeneousTransformationtransformations that might embedqueryintarget.- Parameters:
query – The shape to embed in
target.target – The shape to embed
queryin.parameters – The parameters used to calculate the transformations.
- Returns:
The list of all transformations
tsuch thatt @ query <= targetandisinstance(t, HomogeneousTransformation).
- inverse()
The inverse
HomogeneousTransformationof this one.
- transformations
Transformations composing this transformation, supplied in the order of application (first-in, first-applied).