public abstract class AAffineTransform extends ATransform
| Constructor and Description |
|---|
AAffineTransform() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculateElement(int i,
AVector v)
Calculates a single element 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 known to be the identity function, i.e.
|
boolean |
isInvertible()
Returns true if this transform is invertible
|
boolean |
isLinear()
Returns true if this transformation is guaranteed to be linear
|
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.
|
void |
transformNormal(AVector source,
AVector dest) |
clone, composeWith, inputDimensions, isSquare, 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 interface ITransformtransform in class ATransformpublic double calculateElement(int i,
AVector v)
ATransformcalculateElement in class ATransformpublic void transformInPlace(AVector v)
ATransformtransformInPlace in class ATransformpublic AAffineTransform toAffineTransform()
public boolean equals(AAffineTransform a)
public AAffineTransform inverse()
ATransforminverse in class ATransformpublic boolean isLinear()
ATransformisLinear in class ATransformpublic boolean isInvertible()
ATransformisInvertible in class ATransformCopyright © 2013. All Rights Reserved.