@Immutable public class AlbersEqualArea extends AbstractProjection
| Constructor and Description |
|---|
AlbersEqualArea()
Constructor with default parameters
|
AlbersEqualArea(double lat0,
double lon0,
double par1,
double par2)
Construct a AlbersEqualArea Projection, two standard parellels.
|
AlbersEqualArea(double lat0,
double lon0,
double par1,
double par2,
double falseEasting,
double falseNorthing)
Construct a AlbersEqualArea Projection, two standard parellels.
|
AlbersEqualArea(double lat0,
double lon0,
double par1,
double par2,
double falseEasting,
double falseNorthing,
double earth_radius)
Construct a AlbersEqualArea 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) |
double |
getEarthRadius()
Earth radius in km
|
double |
getFalseEasting()
Get the false easting, in km.
|
double |
getFalseNorthing()
Get the false northing, in km.
|
double |
getOriginLat()
Get the origin latitude in degrees.
|
double |
getOriginLon()
Get the origin longitude in degrees.
|
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.
|
double |
getScale(double lat)
Get the scale at the given lat.
|
int |
hashCode() |
ProjectionPoint |
latLonToProj(LatLonPoint latLon)
Convert a LatLonPoint to projection coordinates.
|
String |
paramsToString()
String representation of the projection parameters.
|
LatLonPoint |
projToLatLon(ProjectionPoint world)
Convert projection coordinates to a LatLonPoint.
|
String |
toString()
Get a String representation of this projection.
|
addParameter, addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getHeader, getMinOrMaxLon, getName, getProjectionAttributes, getProjectionParameters, isLatLon, latLonToProjBB, projToLatLonBBclone, finalize, getClass, notify, notifyAll, wait, wait, waitlatLonToProj, projToLatLonpublic AlbersEqualArea()
public AlbersEqualArea(double lat0,
double lon0,
double par1,
double par2)
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 2IllegalArgumentException - if lat0, par1, par2 = +/-90 degpublic AlbersEqualArea(double lat0,
double lon0,
double par1,
double par2,
double falseEasting,
double falseNorthing)
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 - false easting in kmfalseNorthing - false easting in kmIllegalArgumentException - if lat0, par1, par2 = +/-90 degpublic AlbersEqualArea(double lat0,
double lon0,
double par1,
double par2,
double falseEasting,
double falseNorthing,
double earth_radius)
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 - false easting in kmfalseNorthing - false easting in kmearth_radius - radius of the earth in kmIllegalArgumentException - if lat0, par1, par2 = +/-90 degpublic Projection constructCopy()
constructCopy in class AbstractProjectionpublic double getParallelTwo()
public double getParallelOne()
public double getOriginLon()
public double getOriginLat()
public double getFalseEasting()
public double getFalseNorthing()
public double getEarthRadius()
public String getProjectionTypeLabel()
AbstractProjectiongetProjectionTypeLabel in class AbstractProjectionpublic String paramsToString()
ProjectionparamsToString in interface ProjectionparamsToString in class AbstractProjectionpublic String toString()
AbstractProjectiontoString in class AbstractProjectionpublic double getScale(double lat)
lat - lat to usepublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
pt1 - point 1pt2 - point 2public ProjectionPoint latLonToProj(LatLonPoint latLon)
Projectionpublic LatLonPoint projToLatLon(ProjectionPoint world)
Projection