public class RotatedLatLon extends ProjectionImpl
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GRID_MAPPING_NAME |
static java.lang.String |
GRID_SOUTH_POLE_ANGLE |
static java.lang.String |
GRID_SOUTH_POLE_LATITUDE |
static java.lang.String |
GRID_SOUTH_POLE_LONGITUDE |
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 |
|---|
RotatedLatLon()
Default Constructor, needed for beans.
|
RotatedLatLon(double southPoleLat,
double southPoleLon,
double southPoleAngle)
Constructor.
|
| 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.
|
double |
getLonpole() |
double |
getPolerotate() |
double |
getSinDlat() |
int |
hashCode() |
ProjectionPoint |
latLonToProj(LatLonPoint latlon,
ProjectionPointImpl destPoint)
Transform a "real" longitude and latitude into the rotated longitude (X) and
rotated latitude (Y).
|
java.lang.String |
paramsToString()
returns constructor params as a String
|
LatLonPoint |
projToLatLon(ProjectionPoint ppt,
LatLonPointImpl destPoint)
Transform a rotated longitude (X) and rotated latitude (Y) into a "real"
longitude-latitude pair.
|
addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getDefaultMapArea, getDefaultMapAreaLL, getDefaultUnits, getHeader, getName, getProjectionParameters, getProjectionTypeLabel, 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 static final java.lang.String GRID_MAPPING_NAME
public static final java.lang.String GRID_SOUTH_POLE_LONGITUDE
public static final java.lang.String GRID_SOUTH_POLE_LATITUDE
public static final java.lang.String GRID_SOUTH_POLE_ANGLE
public RotatedLatLon()
public RotatedLatLon(double southPoleLat,
double southPoleLon,
double southPoleAngle)
southPoleLat - in degreessouthPoleLon - in degreessouthPoleAngle - in degreespublic double getLonpole()
public double getPolerotate()
public double getSinDlat()
public ProjectionImpl constructCopy()
ProjectionImplconstructCopy in class ProjectionImplpublic java.lang.String paramsToString()
paramsToString in interface ProjectionparamsToString in class ProjectionImplpublic ProjectionPoint latLonToProj(LatLonPoint latlon, ProjectionPointImpl destPoint)
latLonToProj in interface ProjectionlatLonToProj in class ProjectionImpllatlon - convert from these lat, lon coordinatesdestPoint - the object to write topublic LatLonPoint projToLatLon(ProjectionPoint ppt, LatLonPointImpl destPoint)
projToLatLon in interface ProjectionprojToLatLon in class ProjectionImplppt - convert from these projection coordinatesdestPoint - the object to write topublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
ProjectionImplcrossSeam in interface ProjectioncrossSeam in class ProjectionImplpt1 - the line goes between these two pointspt2 - the line goes between these two pointspublic boolean equals(java.lang.Object o)
ProjectionImplequals in interface Projectionequals in class ProjectionImplo - projection in questionpublic int hashCode()
hashCode in class java.lang.Object