@Immutable public class LambertConformalConicEllipse extends AbstractProjection
| Constructor and Description |
|---|
LambertConformalConicEllipse()
Constructor with default parameters
|
LambertConformalConicEllipse(double lat0,
double lon0,
double par1,
double par2,
double falseEasting,
double falseNorthing,
Earth earth)
Construct a LambertConformal Projection, two standard parellels.
|
| Modifier and Type | Method and Description |
|---|---|
Projection |
constructCopy()
copy constructor - avoid clone !!
|
boolean |
crossSeam(ProjectionPoint pt1,
ProjectionPoint pt2)
This returns true when the line between pt1 and pt2 crosses the seam.
|
boolean |
equals(Object o) |
Earth |
getEarth() |
double |
getFalseEasting()
Get the false easting, in km.
|
double |
getFalseNorthing()
Get the false northing, in km.
|
double |
getOriginLat()
Get the origin latitude.
|
double |
getOriginLon()
Get the origin longitude.
|
double |
getParallelOne()
Get the first standard parallel
|
double |
getParallelTwo()
Get the second standard parallel
|
String |
getProjectionTypeLabel()
Get the label to be used in the gui for this type of projection
|
int |
hashCode() |
ProjectionPoint |
latLonToProj(LatLonPoint latLon)
Convert a LatLonPoint to projection coordinates.
|
String |
paramsToString()
Create a String of the parameters.
|
LatLonPoint |
projToLatLon(ProjectionPoint world)
Convert projection coordinates to a LatLonPoint.
|
addParameter, addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getHeader, getMinOrMaxLon, getName, getProjectionAttributes, getProjectionParameters, isLatLon, latLonToProjBB, projToLatLonBB, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitlatLonToProj, projToLatLonpublic LambertConformalConicEllipse()
public LambertConformalConicEllipse(double lat0,
double lon0,
double par1,
double par2,
double falseEasting,
double falseNorthing,
Earth earth)
lat0 - lat origin of the coord. system on the projection planelon0 - lon origin of the coord. system on the projection planepar1 - standard parallel 1par2 - standard parallel 2falseEasting - natural_x_coordinate + false_easting = x coordinate in kmfalseNorthing - natural_y_coordinate + false_northing = y coordinate in kmearth - shape of the earthIllegalArgumentException - if lat0, par1, par2 = +/-90 degpublic Projection constructCopy()
AbstractProjectionconstructCopy in class AbstractProjectionpublic Earth getEarth()
public double getParallelTwo()
public double getParallelOne()
public double getOriginLon()
public double getOriginLat()
public double getFalseEasting()
public double getFalseNorthing()
public String getProjectionTypeLabel()
getProjectionTypeLabel in class AbstractProjectionpublic String paramsToString()
paramsToString in interface ProjectionparamsToString in class AbstractProjectionpublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
pt1 - point 1pt2 - point 2public ProjectionPoint latLonToProj(LatLonPoint latLon)
Projectionpublic LatLonPoint projToLatLon(ProjectionPoint world)
Projection