mikera.transformz.impl
Class AConstantTransform
- java.lang.Object
-
- mikera.transformz.ATransform
-
- mikera.transformz.AAffineTransform
-
- mikera.transformz.impl.AConstantTransform
-
- All Implemented Interfaces:
- java.lang.Cloneable, ITransform
- Direct Known Subclasses:
- ConstantTransform, ConstantTransform3, ConstantTransform4
public abstract class AConstantTransform extends AAffineTransform
Abstract base class for transforms that produce a constant result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description AConstantTransformcompose(ATransform trans)Composes this transformation with another transformation, returning a new combined transformationabstract AVectorgetConstantValue()AMatrixgetMatrix()intinputDimensions()Returns the number of dimensions required for input vectorsAAffineTransforminverse()Return the inverse of this transformation (if possible).booleanisIdentity()Returns true if this transform is known to be the identity function, i.e.-
Methods inherited from class mikera.transformz.AAffineTransform
calculateElement, compose, copyOfMatrix, copyOfTranslationVector, equals, equals, getMatrixTransform, getTranslation, getTranslationVector, hashCode, isInvertible, isLinear, toAffineTransform, transform, transformInPlace, transformNormal
-
Methods inherited from class mikera.transformz.ATransform
clone, composeWith, isSquare, outputDimensions, takeComponents, takeComponents, takeComponents, transform, transform
-
-
-
-
Method Detail
-
inverse
public AAffineTransform inverse()
Description copied from class:ATransformReturn the inverse of this transformation (if possible). Throws an exception if the inverse cannot be computed.- Overrides:
inversein classAAffineTransform- Returns:
-
isIdentity
public boolean isIdentity()
Description copied from class:ATransformReturns true if this transform is known to be the identity function, i.e. it maps all vectors to themselves- Overrides:
isIdentityin classAAffineTransform
-
compose
public AConstantTransform compose(ATransform trans)
Description copied from class:ATransformComposes this transformation with another transformation, returning a new combined transformation- Overrides:
composein classAAffineTransform
-
inputDimensions
public int inputDimensions()
Description copied from interface:ITransformReturns the number of dimensions required for input vectors- Specified by:
inputDimensionsin interfaceITransform- Specified by:
inputDimensionsin classATransform- Returns:
-
getMatrix
public AMatrix getMatrix()
- Specified by:
getMatrixin classAAffineTransform
-
getConstantValue
public abstract AVector getConstantValue()
-
-
DMelt 3.0 © DataMelt by jWork.ORG