Modifier | Constructor and Description |
---|---|
protected |
Projection(BoundingBox extent)
Creates a projection to the given bounding box
|
Modifier and Type | Method and Description |
---|---|
BoundingBox |
extent()
Gets the projection bounding box
|
BoundingBox |
fromWGS84(BoundingBox bbox)
Converts a WGS84 bounding box to the projection system bounding box
|
abstract Coord |
fromWGS84(Coord wgs84)
Converts a given WGS84 coordinate to a projection coordinate
|
Coord[] |
fromWGS84(Coord[] coords)
a utility method that converts an array of WGS84 coordinate to the
projection coordinates system.
|
BoundingBox |
toWGS84(BoundingBox bbox)
Converts a projected bounding box to a WGS84 bounding box
|
abstract Coord |
toWGS84(Coord projection)
Converts a projected coordinate to a WGS84 coordinate
|
protected Projection(BoundingBox extent)
extent
- the bounding box of this projectionpublic BoundingBox extent()
public abstract Coord fromWGS84(Coord wgs84)
wgs84
- public abstract Coord toWGS84(Coord projection)
projection
- public final Coord[] fromWGS84(Coord[] coords)
coords
- an array to convertspublic final BoundingBox fromWGS84(BoundingBox bbox)
bbox
- bounding box too convertpublic final BoundingBox toWGS84(BoundingBox bbox)
bbox
- bounding box too convert