|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.unidata.geoloc.ProjectionImpl
ucar.unidata.geoloc.projection.RotatedPole
public class RotatedPole
Rotated-pole longitude-latitude grid.
Field Summary |
---|
Fields inherited from class ucar.unidata.geoloc.ProjectionImpl |
---|
ATTR_NAME, atts, defaultMapArea, EARTH_RADIUS, INDEX_LAT, INDEX_LON, INDEX_X, INDEX_Y, isLatLon, name, PI, PI_OVER_2, PI_OVER_4, TOLERANCE |
Constructor Summary | |
---|---|
RotatedPole()
Default Constructor, needed for beans. |
|
RotatedPole(double northPoleLat,
double northPoleLon)
Constructor. |
Method Summary | |
---|---|
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(Object proj)
Returns true if this represents the same Projection as proj. |
Point2D.Double |
getNorthPole()
|
ProjectionPoint |
latLonToProj(LatLonPoint latlon,
ProjectionPointImpl destPoint)
Transform a "real" longitude and latitude into the rotated longitude (X) and rotated latitude (Y). |
String |
paramsToString()
Get a string representation of the projection parameters |
LatLonPoint |
projToLatLon(ProjectionPoint ppt,
LatLonPointImpl destPoint)
Transform a rotated longitude (X) and rotated latitude (Y) into a "real" longitude-latitude pair. |
Methods inherited from class ucar.unidata.geoloc.ProjectionImpl |
---|
addParameter, addParameter, addParameter, clone, getClassName, getDefaultMapArea, getDefaultMapAreaLL, getHeader, getLatLonBoundingBox, getName, getProjectionParameters, getProjectionTypeLabel, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProjBB, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, setDefaultMapArea, setName, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RotatedPole()
public RotatedPole(double northPoleLat, double northPoleLon)
northPoleLat
- northPoleLon
- Method Detail |
---|
public Point2D.Double getNorthPole()
public ProjectionImpl constructCopy()
constructCopy
in class ProjectionImpl
public String paramsToString()
ProjectionImpl
paramsToString
in interface Projection
paramsToString
in class ProjectionImpl
public ProjectionPoint latLonToProj(LatLonPoint latlon, ProjectionPointImpl destPoint)
latLonToProj
in interface Projection
latLonToProj
in class ProjectionImpl
latlon
- convert from these lat, lon coordinatesdestPoint
- the object to write to
public LatLonPoint projToLatLon(ProjectionPoint ppt, LatLonPointImpl destPoint)
projToLatLon
in interface Projection
projToLatLon
in class ProjectionImpl
ppt
- convert from these projection coordinatesdestPoint
- the object to write to
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 points
public boolean equals(Object proj)
ProjectionImpl
equals
in interface Projection
equals
in class ProjectionImpl
proj
- projection in question
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |