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(java.lang.Object proj)
Check for equality with the object in question
|
java.lang.String |
getClassName()
The name of this class of projections, eg "Transverse Mercator".
|
ProjectionRect |
getDefaultMapArea()
Deprecated.
Do not use.
|
java.lang.String |
getName()
The name of this projection.
|
java.util.List<Parameter> |
getProjectionParameters()
Get parameters as list of ucar.unidata.util.Parameter
|
boolean |
isLatLon()
Is this the lat/lon Projection ?
|
default ProjectionPoint |
latLonToProj(double lat,
double lon)
Convert lat, lon to Projection point.
|
ProjectionPoint |
latLonToProj(LatLonPoint latlon)
Convert a LatLonPoint to projection coordinates.
|
ProjectionPoint |
latLonToProj(LatLonPoint latlon,
ProjectionPointImpl result)
Deprecated.
use latLonToProj(LatLonPoint latlon)
|
ProjectionRect |
latLonToProjBB(LatLonRect latlonRect)
Convert a lat/lon bounding box to a world coordinate bounding box,
by finding the minimum enclosing box.
|
java.lang.String |
paramsToString()
String representation of the projection parameters.
|
default LatLonPoint |
projToLatLon(double x,
double y)
Convert projection x, y to LatLonPoint point.
|
LatLonPoint |
projToLatLon(ProjectionPoint ppt)
Convert projection coordinates to a LatLonPoint.
|
LatLonPoint |
projToLatLon(ProjectionPoint ppt,
LatLonPointImpl result)
Deprecated.
use projToLatLon(ProjectionPoint ppt)
|
LatLonRect |
projToLatLonBB(ProjectionRect bb)
Deprecated.
use Projections.projToLatLonBB(Projection proj, ...)
|
java.lang.String getClassName()
java.lang.String getName()
boolean isLatLon()
java.lang.String paramsToString()
@Deprecated ProjectionPoint latLonToProj(LatLonPoint latlon, ProjectionPointImpl result)
default ProjectionPoint latLonToProj(double lat, double lon)
ProjectionPoint latLonToProj(LatLonPoint latlon)
latlon
- convert from these lat, lon coordinates@Deprecated LatLonPoint projToLatLon(ProjectionPoint ppt, LatLonPointImpl result)
default LatLonPoint projToLatLon(double x, double y)
LatLonPoint projToLatLon(ProjectionPoint ppt)
ppt
- convert from these projection coordinatesboolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
pt1
- the line goes between these two pointspt2
- the line goes between these two points@Deprecated ProjectionRect getDefaultMapArea()
boolean equals(java.lang.Object proj)
equals
in class java.lang.Object
proj
- projection to checkjava.util.List<Parameter> getProjectionParameters()
ProjectionRect latLonToProjBB(LatLonRect latlonRect)
latlonRect
- input lat,lon bounding boxLatLonRect projToLatLonBB(ProjectionRect bb)
bb
- projection bounding box