public final class Affine23 extends AAffineTransform implements ISpecialisedTransform
| Modifier and Type | Field and Description |
|---|---|
double |
m00 |
double |
m01 |
double |
m10 |
double |
m11 |
double |
tr0 |
double |
tr1 |
| Constructor and Description |
|---|
Affine23() |
Affine23(AMatrix matrix,
ATranslation trans) |
Affine23(AMatrix m,
AVector v) |
Affine23(double m00,
double m01,
double tr0,
double m10,
double m11,
double tr1) |
Affine23(Matrix22 m,
AVector v) |
| Modifier and Type | Method and Description |
|---|---|
void |
composeWith(Affine23 a) |
void |
composeWith(ATransform a)
Composes this transformation with a given transformation,
mutating the transformation to represent the combined transform
|
void |
composeWith(Matrix22 a) |
Matrix22 |
copyOfMatrix()
Returns a deep copy of the transformation matrix for this affine transform
|
Vector2 |
copyOfTranslationVector()
Returns a deep copy of the translation vector for this affine transform
|
boolean |
equals(Affine23 m) |
boolean |
equals(Object o) |
AMatrix |
getMatrixComponent() |
ATranslation |
getTranslationComponent() |
int |
inputDimensions()
Returns the number of dimensions required for input vectors
|
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(Vector2 source,
Vector2 dest) |
void |
transformInPlace(AVector dest)
Transforms a vector destructively.
|
void |
transformInPlace(Vector2 dest) |
void |
transformNormal(AVector source,
AVector dest) |
void |
transformNormal(Vector2 source,
Vector2 dest) |
calculateElement, compose, compose, equals, hashCode, inverse, isIdentity, isInvertible, isLinear, toAffineTransformclone, isSquare, takeComponents, takeComponents, takeComponents, transform, transformpublic double m00
public double m01
public double tr0
public double m10
public double m11
public double tr1
public Affine23()
public Affine23(double m00,
double m01,
double tr0,
double m10,
double m11,
double tr1)
public Affine23(AMatrix matrix, ATranslation trans)
public AMatrix getMatrixComponent()
getMatrixComponent in class AAffineTransformpublic ATranslation getTranslationComponent()
getTranslationComponent in class AAffineTransformpublic Matrix22 copyOfMatrix()
AAffineTransformcopyOfMatrix in class AAffineTransformpublic Vector2 copyOfTranslationVector()
AAffineTransformcopyOfTranslationVector in class AAffineTransformpublic void transform(AVector source, AVector dest)
ATransformtransform in interface ITransformtransform in class AAffineTransformpublic void transformNormal(AVector source, AVector dest)
transformNormal in class AAffineTransformpublic void transformInPlace(AVector dest)
ATransformtransformInPlace in class AAffineTransformpublic void transformInPlace(Vector2 dest)
public int inputDimensions()
ATransforminputDimensions in interface ITransforminputDimensions in class ATransformpublic int outputDimensions()
ATransformoutputDimensions in interface ITransformoutputDimensions in class ATransformpublic void composeWith(ATransform a)
ATransformcomposeWith in class ATransformpublic void composeWith(Affine23 a)
public void composeWith(Matrix22 a)
public boolean equals(Object o)
equals in class AAffineTransformpublic boolean equals(Affine23 m)
Copyright © 2013. All Rights Reserved.