public final class ConstantTransform4 extends AConstantTransform
| Constructor and Description |
|---|
ConstantTransform4(int inputDimensions,
AVector value)
Creates a new constant transform, using the provided vector as the constant value
Does *not* take a defensive copy
|
| Modifier and Type | Method and Description |
|---|---|
AVector |
getConstantValue() |
ATranslation |
getTranslationComponent() |
int |
outputDimensions()
Returns the number of dimensions required for output vectors
|
void |
transform(AVector source,
AVector dest)
Transforms the source vector, storing the result in the given destination vector
|
void |
transform(AVector source,
Vector4 dest) |
compose, getMatrixComponent, inputDimensions, inverse, isIdentitycompose, copyOfMatrix, copyOfTranslationVector, equals, equals, hashCode, toAffineTransform, transformInPlaceisLinearclone, composeWith, transformpublic ConstantTransform4(int inputDimensions,
AVector value)
inputDimensions - value - public int outputDimensions()
ATransformoutputDimensions in class ATransformpublic void transform(AVector source, AVector dest)
ATransformtransform in class AAffineTransformpublic ATranslation getTranslationComponent()
getTranslationComponent in class AAffineTransformpublic AVector getConstantValue()
getConstantValue in class AConstantTransformCopyright © 2012. All Rights Reserved.