public class EquidistantAzimuthalProjection extends ProjectionImpl
Modifier and Type | Field and Description |
---|---|
static int |
EQUATOR |
static int |
NORTH_POLE |
static int |
OBLIQUE |
static int |
SOUTH_POLE |
atts, defaultMapArea, EARTH_RADIUS, INDEX_LAT, INDEX_LON, INDEX_X, INDEX_Y, isLatLon, name, PI, PI_OVER_2, PI_OVER_4, TOLERANCE
Constructor and Description |
---|
EquidistantAzimuthalProjection() |
EquidistantAzimuthalProjection(double lat0,
double lon0,
double falseEasting,
double falseNorthing,
Earth earth) |
Modifier and Type | Method and Description |
---|---|
ProjectionImpl |
constructCopy()
copy constructor - avoid clone !!
|
boolean |
crossSeam(ProjectionPoint pt1,
ProjectionPoint pt2)
Does the line between these two points cross the projection "seam".
|
boolean |
equals(java.lang.Object o)
Returns true if this represents the same Projection as proj.
|
int |
hashCode() |
ProjectionPoint |
latLonToProj(LatLonPoint latlon,
ProjectionPointImpl xy)
Convert a LatLonPoint to projection coordinates
|
java.lang.String |
paramsToString()
Get a string representation of the projection parameters
|
LatLonPoint |
projToLatLon(ProjectionPoint ppt,
LatLonPointImpl lp)
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, getHeader, getName, getProjectionParameters, getProjectionTypeLabel, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProjBB, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, projToLatLonBBold, setDefaultMapArea, setName, toString
public static final int NORTH_POLE
public static final int SOUTH_POLE
public static final int EQUATOR
public static final int OBLIQUE
public EquidistantAzimuthalProjection()
public EquidistantAzimuthalProjection(double lat0, double lon0, double falseEasting, double falseNorthing, Earth earth)
public ProjectionImpl constructCopy()
ProjectionImpl
constructCopy
in class ProjectionImpl
public ProjectionPoint latLonToProj(LatLonPoint latlon, ProjectionPointImpl xy)
ProjectionImpl
latLonToProj
in interface Projection
latLonToProj
in class ProjectionImpl
latlon
- convert from these lat, lon coordinatesxy
- the object to write topublic LatLonPoint projToLatLon(ProjectionPoint ppt, LatLonPointImpl lp)
ProjectionImpl
projToLatLon
in interface Projection
projToLatLon
in class ProjectionImpl
ppt
- convert from these projection coordinateslp
- the object to write topublic java.lang.String paramsToString()
ProjectionImpl
paramsToString
in interface Projection
paramsToString
in class ProjectionImpl
public boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
ProjectionImpl
crossSeam
in interface Projection
crossSeam
in class ProjectionImpl
pt1
- the line goes between these two pointspt2
- the line goes between these two pointspublic boolean equals(java.lang.Object o)
ProjectionImpl
equals
in interface Projection
equals
in class ProjectionImpl
o
- projection in questionpublic int hashCode()
hashCode
in class java.lang.Object