public class RotatedLatLon extends AbstractProjection
| Modifier and Type | Field and Description |
|---|---|
static String |
GRID_MAPPING_NAME |
static String |
GRID_SOUTH_POLE_ANGLE |
static String |
GRID_SOUTH_POLE_LATITUDE |
static String |
GRID_SOUTH_POLE_LONGITUDE |
| Constructor and Description |
|---|
RotatedLatLon()
Default Constructor, needed for beans.
|
RotatedLatLon(double southPoleLat,
double southPoleLon,
double southPoleAngle)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Projection |
constructCopy()
copy constructor - avoid clone !!
|
boolean |
crossSeam(ProjectionPoint pt1,
ProjectionPoint pt2)
Does the line between these two points cross the projection "seam", which
is a discontinuity in the function latlon <-> projection plane
|
boolean |
equals(Object o) |
double |
getLonPole() |
double |
getPoleRotate() |
double |
getSinDlat() |
int |
hashCode() |
ProjectionPoint |
latLonToProj(LatLonPoint latlon)
Transform a "real" longitude and latitude into the rotated longitude (X) and
rotated latitude (Y).
|
String |
paramsToString()
String representation of the projection parameters.
|
LatLonPoint |
projToLatLon(ProjectionPoint ppt)
Transform a rotated longitude (X) and rotated latitude (Y) into a "real"
longitude-latitude pair.
|
addParameter, addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getHeader, getMinOrMaxLon, getName, getProjectionAttributes, getProjectionParameters, getProjectionTypeLabel, isLatLon, latLonToProjBB, projToLatLonBB, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitlatLonToProj, projToLatLonpublic static final String GRID_MAPPING_NAME
public static final String GRID_SOUTH_POLE_LONGITUDE
public static final String GRID_SOUTH_POLE_LATITUDE
public static final 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 Projection constructCopy()
AbstractProjectionconstructCopy in class AbstractProjectionpublic String paramsToString()
ProjectionparamsToString in interface ProjectionparamsToString in class AbstractProjectionpublic ProjectionPoint latLonToProj(LatLonPoint latlon)
public LatLonPoint projToLatLon(ProjectionPoint ppt)
public boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
Projectionpt1 - the line goes between these two pointspt2 - the line goes between these two points