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 |
getMatrix() |
MatrixTransform |
getMatrixTransform() |
abstract ATranslation |
getTranslation() |
AVector |
getTranslationVector()
Gets the translation offset that is part of this affine transform.
|
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, transform, transformpublic abstract AMatrix getMatrix()
public abstract ATranslation getTranslation()
public AVector copyOfTranslationVector()
public AMatrix copyOfMatrix()
public MatrixTransform getMatrixTransform()
public AVector getTranslationVector()
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)
ITransformtransform 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 © 2016. All rights reserved.