|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openstreetmap.josm.data.projection.proj.LambertConformalConic
public class LambertConformalConic
Implementation of the Lambert Conformal Conic projection.
| Nested Class Summary | |
|---|---|
static class |
LambertConformalConic.Parameters
|
static class |
LambertConformalConic.Parameters1SP
|
static class |
LambertConformalConic.Parameters2SP
|
| Field Summary | |
|---|---|
protected double |
e
|
protected Ellipsoid |
ellps
|
protected static double |
epsilon
precision in iterative schema |
protected double |
F
projection factor |
protected double |
n
projection exponent |
private LambertConformalConic.Parameters |
params
|
protected double |
r0
radius of the parallel of latitude of the false origin (2SP) or at natural origin (1SP) |
| Constructor Summary | |
|---|---|
LambertConformalConic()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
A Human readable name of this projection. |
LambertConformalConic.Parameters |
getParameters()
|
java.lang.String |
getProj4Id()
The Proj.4 identifier. |
void |
initialize(ProjParameters params)
Initialize the projection using the provided parameters. |
private void |
initialize1SP(double lat_0)
Initialize for LCC with 1 standard parallel. |
private void |
initialize2SP(double lat_0,
double lat_1,
double lat_2)
Initialize for LCC with 2 standard parallels. |
double[] |
invproject(double east,
double north)
Convert east/north to lat/lon. |
protected double |
m(double lat_rad)
auxiliary function m |
double[] |
project(double phi,
double lambda)
Convert lat/lon to east/north. |
protected double |
t(double lat_rad)
auxiliary function t |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Ellipsoid ellps
protected double e
private LambertConformalConic.Parameters params
protected double n
protected double F
protected double r0
protected static final double epsilon
| Constructor Detail |
|---|
public LambertConformalConic()
| Method Detail |
|---|
public void initialize(ProjParameters params)
throws ProjectionConfigurationException
Proj
initialize in interface ProjProjectionConfigurationException - in case parameters are not suitable
private void initialize2SP(double lat_0,
double lat_1,
double lat_2)
lat_0 - latitude of false origin (in degrees)lat_1 - latitude of first standard parallel (in degrees)lat_2 - latitude of second standard parallel (in degrees)private void initialize1SP(double lat_0)
lat_0 - latitude of natural origin (in degrees)protected double t(double lat_rad)
protected double m(double lat_rad)
public java.lang.String getName()
Proj
getName in interface Projpublic java.lang.String getProj4Id()
Proj
getProj4Id in interface Proj
public double[] project(double phi,
double lambda)
Proj
project in interface Projphi - the latitude in radianslambda - the longitude in radians
public double[] invproject(double east,
double north)
Proj
invproject in interface Projeast - 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 ellipsoid
public final LambertConformalConic.Parameters getParameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||