This change is not relevant to Apache SIS since we will not port ReferencingFactoryFinder
and their Hints
. The plan is to depend on some dependency injection framework instead.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r28717:28718 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/operation/transform/DimensionFilter.java
Revision 28717 | Revision 28718 |
---|---|
import org.opengis.referencing.operation.MathTransform; import org.opengis.referencing.operation.MathTransformFactory; import org.geotools.referencing.ReferencingFactoryFinder; import org.geotools.referencing.operation.LinearTransform; import org.geotools.referencing.operation.matrix.XMatrix; |
import org.opengis.referencing.operation.MathTransform;
import org.opengis.referencing.operation.MathTransformFactory;
import org.geotools.factory.Hints;
import org.geotools.referencing.ReferencingFactoryFinder;
import org.geotools.referencing.operation.LinearTransform;
import org.geotools.referencing.operation.matrix.XMatrix; |
* @source $URL$ * @version $Id$ * @author Martin Desruisseaux * * @todo This class is specific to Geotools implementation; it is better to avoid it if * you can. It could be generalized a bit if we perform the same operations on |
* @source $URL$
* @version $Id$
* @author Martin Desruisseaux
* @author Simone Giannecchini
*
* @todo This class is specific to Geotools implementation; it is better to avoid it if
* you can. It could be generalized a bit if we perform the same operations on |
} /** * Constructs a dimension filter with the specified factory. * * @param factory The factory for the creation of new math transforms. |
} /** * Constructs a dimension filter with a {@linkplain ReferencingFactoryFinder#getMathTransformFactory * math transform factory built using the provided hints}. * @param hints to control the creation of the {@link MathTransformFactory}. */ public DimensionFilter(Hints hints) { this(ReferencingFactoryFinder.getMathTransformFactory(hints)); } /** * Constructs a dimension filter with the specified factory. * * @param factory The factory for the creation of new math transforms. |