public class AlbersEqualAreaEllipse extends ProjectionImpl
atts, defaultMapArea, defaultUnits, EARTH_RADIUS, INDEX_LAT, INDEX_LON, INDEX_X, INDEX_Y, isLatLon, name, PI, PI_OVER_2, PI_OVER_4, TOLERANCE| Constructor and Description |
|---|
AlbersEqualAreaEllipse()
Constructor with default parameters
|
AlbersEqualAreaEllipse(double lat0,
double lon0,
double par1,
double par2,
double falseEasting,
double falseNorthing,
Earth earth)
Construct a AlbersEqualAreaEllipse Projection, two standard parellels.
|
| Modifier and Type | Method and Description |
|---|---|
ProjectionImpl |
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(java.lang.Object o)
Returns true if this represents the same Projection as proj.
|
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
|
java.lang.String |
getProjectionTypeLabel()
Get the label to be used in the gui for this type of projection
|
int |
hashCode() |
ProjectionPoint |
latLonToProj(LatLonPoint latLon,
ProjectionPointImpl result)
Convert a LatLonPoint to projection coordinates
|
java.lang.String |
paramsToString()
Create a String of the parameters.
|
LatLonPoint |
projToLatLon(ProjectionPoint world,
LatLonPointImpl result)
Convert projection coordinates to a LatLonPoint
Note: a new object is not created on each call for the return value.
|
addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getDefaultMapArea, getDefaultMapAreaLL, getDefaultUnits, getHeader, getName, getProjectionParameters, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProjBB, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, projToLatLonBBold, setDefaultMapArea, setName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitlatLonToProj, projToLatLonpublic AlbersEqualAreaEllipse()
public AlbersEqualAreaEllipse(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 - false easting in kmfalseNorthing - false easting in kmearth - shape of the earthjava.lang.IllegalArgumentException - if Math.abs(par1 + par2) < 1.e-10public ProjectionImpl constructCopy()
ProjectionImplconstructCopy in class ProjectionImplpublic boolean equals(java.lang.Object o)
ProjectionImplequals in interface Projectionequals in class ProjectionImplo - projection in questionpublic int hashCode()
hashCode in class java.lang.Objectpublic Earth getEarth()
public double getParallelTwo()
public double getParallelOne()
public double getOriginLon()
public double getOriginLat()
public double getFalseEasting()
public double getFalseNorthing()
public java.lang.String getProjectionTypeLabel()
getProjectionTypeLabel in class ProjectionImplpublic java.lang.String paramsToString()
paramsToString in interface ProjectionparamsToString in class ProjectionImplpublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
crossSeam in interface ProjectioncrossSeam in class ProjectionImplpt1 - point 1pt2 - point 2public ProjectionPoint latLonToProj(LatLonPoint latLon, ProjectionPointImpl result)
ProjectionImpllatLonToProj in interface ProjectionlatLonToProj in class ProjectionImpllatLon - convert from these lat, lon coordinatesresult - the object to write topublic LatLonPoint projToLatLon(ProjectionPoint world, LatLonPointImpl result)
ProjectionImplprojToLatLon in interface ProjectionprojToLatLon in class ProjectionImplworld - convert from these projection coordinatesresult - the object to write to