PlateCarree class
Trivial equirectangular (Plate Carree) projection.
The units of the projected x/y-coordinates is degrees, where -180 <= x <= 180 -90 <= y <= -90
class PlateCarree implements Projection { Point2D project(LatLon ll) => new Point2D(ll.lon, ll.lat); LatLon unproject(Point2D p) => new LatLon(p.y, p.x); }
Implements
Methods
Point2D project(LatLon ll) #
Project a point (lat/lon) from a geodetic coordinates into a Point2D (x,y) in a projected coordinate system
docs inherited from Projection
Point2D project(LatLon ll) => new Point2D(ll.lon, ll.lat);
LatLon unproject(Point2D p) #
Reverse project a Point2D (x,y) from a projected coordinate system into a Point2D (lat/lon) in the geodetic coordinate system.
docs inherited from Projection
LatLon unproject(Point2D p) => new LatLon(p.y, p.x);