|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Projection
A projection, i.e. a class that supports conversion from lat/lon to east/north and back. The conversion from east/north to the screen coordinates is simply a scale factor and x/y offset.
Method Summary | |
---|---|
LatLon |
eastNorth2latlon(EastNorth en)
Convert from easting/norting to lat/lon. |
java.lang.String |
getCacheDirectoryName()
Get a filename compatible string (for the cache directory). |
double |
getDefaultZoomInPPD()
The default scale factor in east/north units per pixel ( #NavigatableComponent#scale )). |
Bounds |
getWorldBoundsLatLon()
Get the bounds of the world. |
EastNorth |
latlon2eastNorth(LatLon ll)
Convert from lat/lon to easting/northing. |
java.lang.String |
toCode()
Return projection code. |
java.lang.String |
toString()
Describe the projection in one or two words. |
Method Detail |
---|
double getDefaultZoomInPPD()
#NavigatableComponent#scale
)).
FIXME: misnomer
EastNorth latlon2eastNorth(LatLon ll)
ll
- the geographical point to convert (in WGS84 lat/lon)
LatLon eastNorth2latlon(EastNorth en)
en
- the geographical point to convert (in projected coordinates)
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toCode()
java.lang.String getCacheDirectoryName()
Bounds getWorldBoundsLatLon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |