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, 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
public void setGeoBounds(GeoBounds bounds)
setGeoBounds
in class Projection
bounds
- the geographic boundspublic void setViewBounds(java.awt.Rectangle bounds)
setViewBounds
in class Projection
bounds
- the view bounds for this projection