org.geotoolkit.referencing.operation.matrix
Class MatrixFactory

Object
  extended by Static
      extended by Matrices
          extended by MatrixFactory

Deprecated. Renamed Matrices in order to allow addition of non-factory methods.

@Deprecated
public final class MatrixFactory
extends Matrices

Static utility methods for creating matrix. This factory selects one of the Matrix1, Matrix2, Matrix3, Matrix4 or GeneralMatrix implementation according the desired matrix size. Note that if the matrix size is know at compile time, it may be more efficient to invoke directly the constructor of the appropriate class instead.

Since:
2.2
Version:
3.16
Author:
Martin Desruisseaux (IRD, Geomatys)
Module:
referencing/geotk-referencing (download)    View source code for this class

Method Summary
static XMatrix create(Matrix matrix)
          Deprecated. Renamed Matrices.copy(Matrix)
 
Methods inherited from class Matrices
copy, create, create, create, createDimensionFilter, equals, equals, getMatrix, invert, isAffine, multiply, resizeAffine, reverseAxisDirection, toAffineTransform, toGeneralMatrix, toOptimalMatrix, toXMatrix
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

@Deprecated
public static XMatrix create(Matrix matrix)
Deprecated. Renamed Matrices.copy(Matrix)

Creates a new matrix which is a copy of the specified matrix.

Parameters:
matrix - The matrix to copy.
Returns:
A copy of the given matrix.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.