public abstract class AAffineTransform extends ALinearTransform
| Constructor and Description |
|---|
AAffineTransform() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculateComponent(int i,
AVector v)
Calculates a single component of the output.
|
ATransform |
compose(AAffineTransform a) |
ATransform |
compose(ATransform a)
Composes this transformation with another transformation, returning
a new combined transformation
|
AMatrix |
copyOfMatrix()
Returns a deep copy of the transformation matrix for this affine transform
|
AVector |
copyOfTranslationVector()
Returns a deep copy of the translation vector for this affine transform
|
boolean |
equals(AAffineTransform a) |
boolean |
equals(Object o) |
abstract AMatrix |
getMatrixComponent() |
abstract ATranslation |
getTranslationComponent() |
int |
hashCode() |
AAffineTransform |
inverse()
Return the inverse of this transformation if possible
|
boolean |
isIdentity()
Returns true if this transform is the identity function, i.e.
|
AAffineTransform |
toAffineTransform() |
void |
transform(AVector source,
AVector dest)
Transforms the source vector, storing the result in the given destination vector
|
void |
transformInPlace(AVector v)
Transforms a vector destructively.
|
isLinearclone, composeWith, inputDimensions, outputDimensions, takeComponents, takeComponents, takeComponents, transformpublic abstract AMatrix getMatrixComponent()
public abstract ATranslation getTranslationComponent()
public AVector copyOfTranslationVector()
public AMatrix copyOfMatrix()
public boolean isIdentity()
ATransformisIdentity in class ATransformpublic ATransform compose(ATransform a)
ATransformcompose in class ATransformpublic ATransform compose(AAffineTransform a)
public void transform(AVector source, AVector dest)
ATransformtransform in class ATransformpublic double calculateComponent(int i,
AVector v)
ATransformcalculateComponent in class ATransformpublic void transformInPlace(AVector v)
ATransformtransformInPlace in class ATransformpublic AAffineTransform toAffineTransform()
public boolean equals(AAffineTransform a)
public AAffineTransform inverse()
ATransforminverse in class ATransformCopyright © 2012. All Rights Reserved.