public abstract class ATranslation extends AAffineTransform
| Constructor and Description |
|---|
ATranslation() |
| Modifier and Type | Method and Description |
|---|---|
int |
dimensions() |
boolean |
equals(AAffineTransform a) |
boolean |
equals(ATranslation a) |
abstract AVector |
getTranslationVector()
Gets the vector offset that this translation represents.
|
ATranslation |
inverse()
Return the inverse of this transformation if possible
|
boolean |
isIdentity()
Returns true if this transform is an identity transform
|
AAffineTransform |
toAffineTransform() |
ATranslation |
toMutableTranslation() |
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.
|
equals, getMatrixComponent, getTranslationComponent, hashCode, isLinearclone, compose, composeWith, inputDimensions, outputDimensions, transformpublic abstract AVector getTranslationVector()
public int dimensions()
public void transform(AVector source, AVector dest)
ATransformtransform in class AAffineTransformpublic void transformInPlace(AVector v)
ATransformtransformInPlace in class AAffineTransformpublic AAffineTransform toAffineTransform()
toAffineTransform in class AAffineTransformpublic ATranslation toMutableTranslation()
public boolean isIdentity()
isIdentity in class ATransformpublic boolean equals(ATranslation a)
public boolean equals(AAffineTransform a)
equals in class AAffineTransformpublic ATranslation inverse()
ATransforminverse in class AAffineTransformCopyright © 2012. All Rights Reserved.