public abstract class ATransform extends Object implements Cloneable
| Constructor and Description |
|---|
ATransform() |
| Modifier and Type | Method and Description |
|---|---|
ATransform |
clone()
Clones the transform, performing a deep copy where needed
|
ATransform |
compose(ATransform trans)
Composes this transformation with another transformation, returning
a new combined transformation
|
void |
composeWith(ATransform trans)
Composes this transformation with a given transformation,
mutating the transformation to represent the combined transform
|
abstract int |
inputDimensions()
Returns the number of dimensions required for input vectors
|
AAffineTransform |
inverse()
Return the inverse of this transformation if possible
|
boolean |
isIdentity() |
boolean |
isLinear()
Returns true if this transformation is guaranteed to be linear
|
abstract int |
outputDimensions()
Returns the number of dimensions required for output vectors
|
AVector |
transform(AVector v)
Transforms a vector, returning a new transformed vector
|
abstract 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.
|
public abstract void transform(AVector source, AVector dest)
source - dest - public abstract int inputDimensions()
public abstract int outputDimensions()
public ATransform clone()
public ATransform compose(ATransform trans)
public void composeWith(ATransform trans)
public boolean isLinear()
public AVector transform(AVector v)
v - public void transformInPlace(AVector v)
v - public boolean isIdentity()
public AAffineTransform inverse()
Copyright © 2012. All Rights Reserved.