public class StretchRect extends Projection
| Constructor and Description |
|---|
StretchRect() |
| Modifier and Type | Method and Description |
|---|---|
GeoCoord |
getCoord(java.awt.Point point)
Get the geographic coordinate which projects to the given screen
coordinate.
|
java.awt.Shape |
getWorldShape()
Get the world shape for this projection.
|
java.awt.Point |
project(GeoCoord coord)
Project a geographic coordinate into screen coordinates
|
java.awt.Point[] |
project(GeoCoord[] coords)
Project a series of geographic coordinate into screen coordinates
|
protected void |
rescale()
Rescales the projection.
|
getGeoBounds, getGeoid, getProjCenter, getViewBounds, setGeoBounds, setGeoid, setProjCenter, setViewBounds, toStringpublic GeoCoord getCoord(java.awt.Point point)
getCoord in class Projectionpoint - a point in screen coordinatespublic java.awt.Shape getWorldShape()
getWorldShape in class Projectionpublic java.awt.Point project(GeoCoord coord)
project in class Projectioncoord - the geographic coordinatepublic java.awt.Point[] project(GeoCoord[] coords)
project in class Projectioncoords - the geographic coordinatesprotected void rescale()
rescale in class Projection