public class ObliqueMercatorProjection 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 |
---|
ObliqueMercatorProjection() |
ObliqueMercatorProjection(Ellipsoid ellipsoid,
double lon_0,
double lat_0,
double alpha,
double k,
double x_0,
double y_0)
Set up a projection suitable for State Plane Coordinates.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that)
Represents quality between possible outputs of
Projection.project(ProjCoordinate, ProjCoordinate) . |
int |
hashCode()
Hash of those fields considered in Projection equalituy.
|
boolean |
hasInverse()
Tests whether this projection has an inverse.
|
void |
initialize()
Initialize the projection.
|
ProjCoordinate |
project(double lam,
double phi,
ProjCoordinate xy)
Computes the projection of a given point
(i.e. from geographics to projection space).
|
ProjCoordinate |
projectInverse(double x,
double y,
ProjCoordinate lp)
Computes the inverse projection of a given point
(i.e. from projection space to geographics).
|
void |
setGamma(double gamma) |
String |
toString() |
isRectilinear
clone, getAlpha, getAxisOrder, getEllipsoid, getEPSGCode, 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, inside, inverseProject, inverseProjectRadians, isConformal, isEqualArea, isGeographic, normalizeLongitude, normalizeLongitudeRadians, parallelsAreParallel, project, projectRadians, setAlphaDegrees, setAxisOrder, setEllipsoid, setFalseEasting, setFalseNorthing, setFromMetres, 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 ObliqueMercatorProjection()
public ObliqueMercatorProjection(Ellipsoid ellipsoid, double lon_0, double lat_0, double alpha, double k, double x_0, double y_0)
public void initialize()
Projection
initialize
in class Projection
public void setGamma(double gamma)
setGamma
in class Projection
public ProjCoordinate project(double lam, double phi, ProjCoordinate xy)
Projection
project
in class Projection
lam
- the geographic x ordinate (in radians)phi
- the geographic y ordinatee (in radians)xy
- the projected coordinate (in coordinate system units)public ProjCoordinate projectInverse(double x, double y, ProjCoordinate lp)
Projection
projectInverse
in class Projection
x
- the projected x ordinate (in coordinate system units)y
- the projected y ordinate (in coordinate system units)lp
- 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 String toString()
toString
in class CylindricalProjection
public boolean equals(Object that)
Projection
Projection.project(ProjCoordinate, ProjCoordinate)
.
Subclasses of Projection should capture additional state that is used in the project method and delgate to base.
Note: The name of the projection is not part of equality.equals
in class Projection
public int hashCode()
Projection
hashCode
in class Projection
Copyright © 2021. All rights reserved.