Interface CoordinateTransform
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BasicCoordinateTransform
An interface for the operation of transforming
a
ProjCoordinate from one CoordinateReferenceSystem
into a different one.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiontransform(ProjCoordinate src, ProjCoordinate tgt) Tranforms a coordinate from the sourceCoordinateReferenceSystemto the target one.
-
Method Details
-
getSourceCRS
CoordinateReferenceSystem getSourceCRS() -
getTargetCRS
CoordinateReferenceSystem getTargetCRS() -
transform
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
-