public interface LinearTransform extends MathTransform
Such a coordinate transformation can be represented by a matrix of arbitrary size, which is given by the
getMatrix()
method. The relationship between matrix size and transform dimensions is as below:
PerspectiveTransform
in Java Advanced Imaging.
For example a square matrix of size 4×4 is used for transforming three-dimensional coordinates.
The transformed points (x',y',z')
are computed as below:
where u, v, w and t are obtained by |
LinearTransform
is to use the MathTransforms.linear(Matrix)
convenience method.MathTransforms.linear(Matrix)
,
LinearTransformBuilder
,
AffineTransform
,
Affine transformation on MathWorldDefined in the sis-referencing
module
Modifier and Type | Method and Description |
---|---|
Matrix |
getMatrix()
Returns the coefficients of this linear transform as a matrix.
|
derivative, getSourceDimensions, getTargetDimensions, inverse, isIdentity, toWKT, transform, transform, transform, transform, transform
Matrix getMatrix()
MathTransform
is equivalent to multiplying the
returned matrix by a vector containing the ordinate values with an additional 1 in the last row.
See LinearTransform
class Javadoc for more details.MathTransforms.getMatrix(MathTransform)
Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.