public class SwissObliqueMercator extends java.lang.Object implements Proj
Modifier and Type | Field and Description |
---|---|
private double |
alpha |
private double |
b0 |
private Ellipsoid |
ellps |
private static double |
EPSILON |
private double |
k |
private double |
kR |
Constructor and Description |
---|
SwissObliqueMercator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Replies a human readable name of this projection.
|
java.lang.String |
getProj4Id()
Replies the Proj.4 identifier.
|
private void |
initialize(double lat_0) |
void |
initialize(ProjParameters params)
Initialize the projection using the provided parameters.
|
double[] |
invproject(double y,
double x)
Convert east/north to lat/lon.
|
double[] |
project(double phi,
double lambda)
Convert lat/lon to east/north.
|
private double kR
private double alpha
private double b0
private double k
private static final double EPSILON
public SwissObliqueMercator()
public void initialize(ProjParameters params) throws ProjectionConfigurationException
Proj
initialize
in interface Proj
params
- The projection parametersProjectionConfigurationException
- in case parameters are not suitableprivate void initialize(double lat_0)
public java.lang.String getName()
Proj
public java.lang.String getProj4Id()
Proj
getProj4Id
in interface Proj
null
.public double[] project(double phi, double lambda)
Proj
public double[] invproject(double y, double x)
Proj
invproject
in interface Proj
y
- east value in meters, divided by the semi major axis of the ellipsoidx
- north value in meters, divided by the semi major axis of the ellipsoid