public class SwissObliqueMercator extends AbstractProj
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 |
private double |
phi0 |
Constructor and Description |
---|
SwissObliqueMercator() |
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.
|
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.
|
cphi2, inv_mlfn, isGeographic, mlfn, msfn, tsfn
private double kR
private double alpha
private double b0
private double k
private double phi0
private static final double EPSILON
public SwissObliqueMercator()
public void initialize(ProjParameters params) throws ProjectionConfigurationException
Proj
initialize
in interface Proj
initialize
in class AbstractProj
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
null
.public double[] project(double phi, double lambda)
Proj
phi
- the latitude in radianslambda
- the longitude in radianspublic double[] invproject(double y, double x)
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 ellipsoidpublic Bounds getAlgorithmBounds()
Proj