public class Miller extends Projection
| Constructor and Description |
|---|
Miller() |
| 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.
|
void |
setGeoBounds(GeoBounds bounds)
Set the geographic bounds for the projection.
|
void |
setViewBounds(java.awt.Rectangle bounds)
Set the view bound for this projection.
|
getGeoBounds, getGeoid, getProjCenter, getViewBounds, setGeoid, setProjCenter, 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 Projectionpublic void setGeoBounds(GeoBounds bounds)
setGeoBounds in class Projectionbounds - the geographic boundspublic void setViewBounds(java.awt.Rectangle bounds)
setViewBounds in class Projectionbounds - the view bounds for this projection