public abstract class ATranslation extends AAffineTransform
| Constructor and Description |
|---|
ATranslation() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculateComponent(int i,
AVector v)
Calculates a single component of the output.
|
int |
dimensions() |
boolean |
equals(AAffineTransform a) |
boolean |
equals(ATranslation a) |
double |
getTranslationComponent(int i) |
abstract AVector |
getTranslationVector()
Gets the vector offset that this translation represents.
|
int |
hashCode() |
ATranslation |
inverse()
Return the inverse of this transformation if possible
|
boolean |
isIdentity()
Returns true if this transform is an identity transform
|
boolean |
isInvertible()
Returns true if this transform is invertible
|
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.
|
compose, compose, copyOfMatrix, copyOfTranslationVector, equals, getMatrixComponent, getTranslationComponent, isLinearclone, composeWith, inputDimensions, outputDimensions, takeComponents, takeComponents, takeComponents, transformpublic abstract AVector getTranslationVector()
public int dimensions()
public double calculateComponent(int i,
AVector v)
ATransformcalculateComponent in class AAffineTransformpublic double getTranslationComponent(int i)
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 AAffineTransformpublic boolean equals(ATranslation a)
public boolean equals(AAffineTransform a)
equals in class AAffineTransformpublic ATranslation inverse()
ATransforminverse in class AAffineTransformpublic boolean isInvertible()
ATransformisInvertible in class AAffineTransformpublic int hashCode()
hashCode in class AAffineTransformCopyright © 2012. All Rights Reserved.