public interface Projection
Modifier and Type | Method and Description |
---|---|
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 proj)
Check for equality with the object in question
|
String |
getClassName()
The name of this class of projections, eg "Transverse Mercator".
|
ProjectionRect |
getDefaultMapArea()
Get a reasonable bounding box in this projection.
|
String |
getName()
The name of this projection.
|
List<Parameter> |
getProjectionParameters()
Get parameters as list of ucar.unidata.util.Parameter
|
ProjectionPoint |
latLonToProj(LatLonPoint latlon,
ProjectionPointImpl result)
Convert a LatLonPoint to projection coordinates.
|
ProjectionRect |
latLonToProjBB(LatLonRect latlonRect)
Convert a lat/lon bounding box to a world coordinate bounding box,
by finding the minimum enclosing box.
|
String |
paramsToString()
String representation of the projection parameters.
|
LatLonPoint |
projToLatLon(ProjectionPoint ppt,
LatLonPointImpl result)
Convert projection coordinates to a LatLonPoint.
|
String getClassName()
String getName()
String paramsToString()
ProjectionPoint latLonToProj(LatLonPoint latlon, ProjectionPointImpl result)
latlon
- convert from these lat, lon coordinatesresult
- point to put result inLatLonPoint projToLatLon(ProjectionPoint ppt, LatLonPointImpl result)
ppt
- convert from these projection coordinatesresult
- return result here, or nullboolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
pt1
- the line goes between these two pointspt2
- the line goes between these two pointsProjectionRect getDefaultMapArea()
boolean equals(Object proj)
List<Parameter> getProjectionParameters()
ProjectionRect latLonToProjBB(LatLonRect latlonRect)
latlonRect
- input lat,lon bounding box