public interface Proj
Modifier and Type | Method and Description |
---|---|
Bounds |
getAlgorithmBounds()
Return the bounds where this projection is applicable.
|
java.lang.String |
getName()
Replies a human readable name of this projection.
|
java.lang.String |
getProj4Id()
Replies the Proj.4 identifier.
|
void |
initialize(ProjParameters params)
Initialize the projection using the provided parameters.
|
double[] |
invproject(double east,
double north)
Convert east/north to lat/lon.
|
boolean |
isGeographic()
Return true, if a geographic coordinate reference system is represented.
|
default boolean |
lonIsLinearToEast()
Checks wether the result of projecting a lon coordinate only has a linear relation to the east coordinate and
is not related to lat/north at all.
|
double[] |
project(double latRad,
double lonRad)
Convert lat/lon to east/north.
|
java.lang.String getName()
java.lang.String getProj4Id()
null
.void initialize(ProjParameters params) throws ProjectionConfigurationException
params
- The projection parametersProjectionConfigurationException
- in case parameters are not suitabledouble[] project(double latRad, double lonRad)
latRad
- the latitude in radianslonRad
- the longitude in radiansdouble[] invproject(double east, double north)
east
- east value in meters, divided by the semi major axis of the ellipsoidnorth
- north value in meters, divided by the semi major axis of the ellipsoidBounds getAlgorithmBounds()
boolean isGeographic()
default boolean lonIsLinearToEast()
true
if lon has a linear relationship to east only.