Package org.meteoinfo.projection.proj4j
Interface CoordinateTransform
-
- All Known Implementing Classes:
BasicCoordinateTransform
public interface CoordinateTransformAn interface for the operation of transforming aProjCoordinatefrom oneCoordinateReferenceSysteminto a different one.- See Also:
CoordinateTransformFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoordinateReferenceSystemgetSourceCRS()CoordinateReferenceSystemgetTargetCRS()ProjCoordinatetransform(ProjCoordinate src, ProjCoordinate tgt)Tranforms a coordinate from the sourceCoordinateReferenceSystemto the target one.
-
-
-
Method Detail
-
getSourceCRS
CoordinateReferenceSystem getSourceCRS()
-
getTargetCRS
CoordinateReferenceSystem getTargetCRS()
-
transform
ProjCoordinate transform(ProjCoordinate src, ProjCoordinate tgt) throws Proj4jException
Tranforms a coordinate from the sourceCoordinateReferenceSystemto the target one.- Parameters:
src- the input coordinate to transformtgt- the transformed coordinate- Returns:
- the target coordinate which was passed in
- Throws:
Proj4jException- if a computation error is encountered
-
-