Geotools.Net

IMathTransformFactory.CreateAffineTransform Method 

Creates an affine transform from a matrix.

[Visual Basic]
Function CreateAffineTransform( _
   ByVal matrix As Matrix _
) As IMathTransform
[C#]
IMathTransform CreateAffineTransform(
   Matrix matrix
);

Parameters

matrix
The matrix used to define the affine transform.

Return Value

Missing <returns> documentation for M:Geotools.CoordinateTransformations.IMathTransformFactory.CreateAffineTransform(Geotools.Positioning.Matrix)

Remarks

If the transform's input dimension is M, and output dimension is N, then the matrix will have size [N+1][M+1]. The +1 in the matrix dimensions allows the matrix to do a shift, as well as a rotation. The [M][j] element of the matrix will be the j'th ordinate of the moved origin. The [i][N] element of the matrix will be 0 for i less than M, and 1 for i equals M.

See Also

IMathTransformFactory Interface | IMathTransformFactory Members | Geotools.CoordinateTransformations Namespace