public class MercatorProjection extends CylindricalProjection
a, alpha, DTR, e, ellipsoid, EPS10, es, falseEasting, falseNorthing, fromMetres, geocentric, lonc, maxLatitude, maxLongitude, minLatitude, minLongitude, name, one_es, projectionLatitude, projectionLatitude1, projectionLatitude2, projectionLongitude, rone_es, RTD, scaleFactor, spherical, totalScale, trueScaleLatitude, unit
Constructor and Description |
---|
MercatorProjection() |
Modifier and Type | Method and Description |
---|---|
int |
getEPSGCode()
Returns the ESPG code for this projection, or 0 if unknown.
|
boolean |
hasInverse()
Tests whether this projection has an inverse.
|
boolean |
isRectilinear()
Tests whether under this projection lines of
latitude and longitude form a rectangular grid
|
ProjCoordinate |
project(double lam,
double phi,
ProjCoordinate out)
Computes the projection of a given point
(i.e. from geographics to projection space).
|
ProjCoordinate |
projectInverse(double x,
double y,
ProjCoordinate out)
Computes the inverse projection of a given point
(i.e. from projection space to geographics).
|
String |
toString() |
clone, equals, getAlpha, getAxisOrder, getEllipsoid, getEquatorRadius, getFalseEasting, getFalseNorthing, getFromMetres, getHeightOfOrbit, getLonC, getMaxLatitude, getMaxLatitudeDegrees, getMaxLongitude, getMaxLongitudeDegrees, getMinLatitude, getMinLatitudeDegrees, getMinLongitude, getMinLongitudeDegrees, getName, getPrimeMeridian, getPROJ4Description, getProjectionLatitude, getProjectionLatitude1, getProjectionLatitude1Degrees, getProjectionLatitude2, getProjectionLatitude2Degrees, getProjectionLatitudeDegrees, getProjectionLongitude, getProjectionLongitudeDegrees, getScaleFactor, getSouthernHemisphere, getTrueScaleLatitude, getTrueScaleLatitudeDegrees, getUnits, hashCode, initialize, inside, inverseProject, inverseProjectRadians, isConformal, isEqualArea, isGeographic, normalizeLongitude, normalizeLongitudeRadians, parallelsAreParallel, project, projectRadians, setAlphaDegrees, setAxisOrder, setEllipsoid, setFalseEasting, setFalseNorthing, setFromMetres, setGamma, setHeightOfOrbit, setLonCDegrees, setMaxLatitude, setMaxLongitude, setMaxLongitudeDegrees, setMinLatitude, setMinLongitude, setMinLongitudeDegrees, setName, setPrimeMeridian, setProjectionLatitude, setProjectionLatitude1, setProjectionLatitude1Degrees, setProjectionLatitude2, setProjectionLatitude2Degrees, setProjectionLatitudeDegrees, setProjectionLongitude, setProjectionLongitudeDegrees, setRadius, setScaleFactor, setSouthernHemisphere, setTrueScaleLatitude, setTrueScaleLatitudeDegrees, setUnits
public ProjCoordinate project(double lam, double phi, ProjCoordinate out)
Projection
project
in class Projection
lam
- the geographic x ordinate (in radians)phi
- the geographic y ordinatee (in radians)out
- the projected coordinate (in coordinate system units)public ProjCoordinate projectInverse(double x, double y, ProjCoordinate out)
Projection
projectInverse
in class Projection
x
- the projected x ordinate (in coordinate system units)y
- the projected y ordinate (in coordinate system units)out
- the inverse-projected geographic coordinate (in radians)public boolean hasInverse()
Projection
Projection.inverseProject(ProjCoordinate, ProjCoordinate)
and Projection.inverseProjectRadians(ProjCoordinate, ProjCoordinate)
methods will return meaningful results.hasInverse
in class Projection
public boolean isRectilinear()
Projection
isRectilinear
in class CylindricalProjection
public int getEPSGCode()
getEPSGCode
in class Projection
public String toString()
toString
in class CylindricalProjection
Copyright © 2021. All rights reserved.