|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Projection
Projective geometry transformations from (lat,lon) to (x,y) on a projective cartesian surface. We use the java.awt.geom 2D classes to represent the coordinates on the projective plane.
Method Summary | |
---|---|
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()
Get a reasonable bounding box in this projection. |
java.lang.String |
getName()
The name of this projection. |
java.util.List<Parameter> |
getProjectionParameters()
Get parameters as list of ucar.unidata.util.Parameter |
ProjectionPoint |
latLonToProj(LatLonPoint latlon,
ProjectionPointImpl result)
Convert a LatLonPoint to projection coordinates. |
java.lang.String |
paramsToString()
String representation of the projection parameters. |
LatLonPoint |
projToLatLon(ProjectionPoint ppt,
LatLonPointImpl result)
Convert projection coordinates to a LatLonPoint. |
Method Detail |
---|
java.lang.String getClassName()
java.lang.String getName()
java.lang.String paramsToString()
ProjectionPoint latLonToProj(LatLonPoint latlon, ProjectionPointImpl result)
latlon
- convert from these lat, lon coordinatesresult
- point to put result in
LatLonPoint projToLatLon(ProjectionPoint ppt, LatLonPointImpl result)
ppt
- convert from these projection coordinatesresult
- return result here, or null
boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
pt1
- the line goes between these two pointspt2
- the line goes between these two points
ProjectionRect getDefaultMapArea()
boolean equals(java.lang.Object proj)
equals
in class java.lang.Object
proj
- projection to check
java.util.List<Parameter> getProjectionParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |