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 threedimensional coordinates.
The transformed points (x',y',z')
are computed as below:
$$\left[\begin{array}{c}x\text{'}\\ y\text{'}\\ z\text{'}\end{array}\right]=\left[\begin{array}{c}u/t\\ v/t\\ w/t\end{array}\right]$$ 
where u, v, w and t are obtained by  $$\left[\begin{array}{c}u\\ v\\ w\\ t\end{array}\right]=\left[\begin{array}{cccc}{m}_{00}& {m}_{01}& {m}_{02}& {m}_{03}\\ {m}_{10}& {m}_{11}& {m}_{12}& {m}_{13}\\ {m}_{20}& {m}_{21}& {m}_{22}& {m}_{23}\\ {m}_{30}& {m}_{31}& {m}_{32}& {m}_{33}\end{array}\right]\times \left[\begin{array}{c}x\\ y\\ z\\ 1\end{array}\right]$$ 
LinearTransform
is to use the MathTransforms.linear(Matrix)
convenience method.MathTransforms.linear(Matrix)
,
LinearTransformBuilder
,
AffineTransform
,
Affine transformation on MathWorldDefined in the sisreferencing
module
Modifier and Type  Method and Description 

void 
deltaTransform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
Transforms an array of relative distance vectors.

Matrix 
getMatrix()
Returns the coefficients of this linear transform as a matrix.

LinearTransform 
inverse()
Returns the inverse transform of this object, which shall also be linear.

boolean 
isAffine()
Returns
true if this transform is affine. 
derivative, getSourceDimensions, getTargetDimensions, isIdentity, toWKT, transform, transform, transform, transform, transform
boolean isAffine()
true
if this transform is affine.
An affine transform preserves parallelism.true
if this transform is affine.MatrixSIS.isAffine()
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)
void deltaTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) throws TransformException
srcPts
 The array containing the source vectors.srcOff
 The offset to the first vector to be transformed in the source array.dstPts
 The array into which the transformed vectors are returned. Can be the same than srcPts
.dstOff
 The offset to the location of the first transformed vector that is stored in the destination array.numPts
 The number of vector objects to be transformed.TransformException
 if a vector can not be transformed.AffineTransform.deltaTransform(double[], int, double[], int, int)
LinearTransform inverse() throws NoninvertibleTransformException
inverse
in interface MathTransform
NoninvertibleTransformException
 if the transform can not be inverted.AffineTransform.createInverse()
Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.