Interface EuclideanTransform<V extends EuclideanVector<V>>
- Type Parameters:
V
- Vector implementation type
- All Superinterfaces:
Function<V,
,V> Transform<V>
,UnaryOperator<V>
- All Known Subinterfaces:
Rotation3D
- All Known Implementing Classes:
AbstractAffineTransformMatrix
,AffineTransformMatrix1D
,AffineTransformMatrix2D
,AffineTransformMatrix3D
,QuaternionRotation
,Rotation2D
Interface representing affine transforms in Euclidean space. An affine transform is one that preserves
points, straight lines, planes, and sets of parallel lines. Common affine transforms include translation,
rotation, scaling, reflection and any compositions thereof.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionapplyVector
(V vec) Apply this transform to the given vector, ignoring translations.Methods inherited from interface org.apache.commons.geometry.core.Transform
inverse, preservesOrientation
-
Method Details
-
applyVector
Apply this transform to the given vector, ignoring translations.This method can be used to transform vector instances representing displacements between points. For example, if
v
represents the difference between pointsp1
andp2
, thentransform.applyVector(v)
will represent the difference betweenp1
andp2
aftertransform
is applied.- Parameters:
vec
- the vector to transform- Returns:
- the new, transformed vector
-