
org.osgeo.proj4j.CoordinateTransform Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-proj4_2.11 Show documentation
Show all versions of geotrellis-proj4_2.11 Show documentation
GeoTrellis is an open source geographic data processing engine for high performance applications.
The newest version!
package org.osgeo.proj4j;
import org.osgeo.proj4j.datum.*;
/**
* An interface for the operation of transforming
* a {@link ProjCoordinate} from one {@link CoordinateReferenceSystem}
* into a different one.
*
* @author Martin Davis
*
* @see CoordinateTransformFactory
*/
public interface CoordinateTransform
{
public CoordinateReferenceSystem getSourceCRS();
public CoordinateReferenceSystem getTargetCRS();
/**
* Tranforms a coordinate from the source {@link CoordinateReferenceSystem}
* to the target one.
*
* @param src the input coordinate to transform
* @param tgt the transformed coordinate
* @return the target coordinate which was passed in
*
* @throws Proj4jException if a computation error is encountered
*/
public ProjCoordinate transform( ProjCoordinate src, ProjCoordinate tgt )
throws Proj4jException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy