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, toString
public GeoCoord getCoord(java.awt.Point point)
getCoord
in class Projection
point
- a point in screen coordinatespublic java.awt.Shape getWorldShape()
getWorldShape
in class Projection
public java.awt.Point project(GeoCoord coord)
project
in class Projection
coord
- the geographic coordinatepublic java.awt.Point[] project(GeoCoord[] coords)
project
in class Projection
coords
- the geographic coordinatesprotected void rescale()
rescale
in class Projection