Deleting this contribution and rewriting it can only result in the same starting point.
This is the smallest possible implementation of a two-dimensional ProjectiveTransform
.
There is no way to do the minimalist version otherwise,
except for Javadoc and the public
modifier of constructor.
This contribution has been redone as below:
ProjectiveTransform
.MathTransform2D
, which is the whole purpose of this class.And we are done (ignoring all abstract methods that we need to implement). However while this contribution has been trivially be redone, we nevertheless keep the original author name for credit.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r27153:27154 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/operation/transform/ProjectiveTransform2D.java
Revision 27154 |
---|
/* * GeoTools - OpenSource mapping toolkit * http://geotools.org * (C) 2002-2007, GeoTools Project Managment Committee (PMC) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotools.referencing.operation.transform; import org.opengis.referencing.operation.MathTransform2D; import org.opengis.referencing.operation.Matrix; /** * Projective transform in 2D case. * * @source $URL$ * @version $Id$ * @author Jan Jezek */ final class ProjectiveTransform2D extends ProjectiveTransform implements MathTransform2D { /** * Creates projective transform from a matrix. */ public ProjectiveTransform2D(Matrix matrix) { super(matrix); } } |