public class TransverseMercatorProjection extends CylindricalProjection
Modifier and Type | Field and Description |
---|---|
protected boolean |
isSouth
Indicates whether a Southern Hemisphere UTM zone
|
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 |
---|
TransverseMercatorProjection() |
TransverseMercatorProjection(Ellipsoid ellipsoid,
double lon_0,
double lat_0,
double k,
double x_0,
double y_0)
Set up a projection suitable for State Plane Coordinates.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
static int |
getRowFromNearestParallel(double latitude) |
boolean |
getSouthernHemisphere() |
static int |
getZoneFromNearestMeridian(double longitude) |
boolean |
hasInverse()
Tests whether this projection has an inverse.
|
void |
initialize()
Initialize the projection.
|
boolean |
isRectilinear()
Tests whether under this projection lines of
latitude and longitude form a rectangular grid
|
ProjCoordinate |
project(double lplam,
double lpphi,
ProjCoordinate xy)
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).
|
void |
setSouthernHemisphere(boolean isSouth) |
void |
setUTMZone(int zone) |
String |
toString() |
equals, 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, getTrueScaleLatitude, getTrueScaleLatitudeDegrees, getUnits, hashCode, 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, setTrueScaleLatitude, setTrueScaleLatitudeDegrees, setUnits
public TransverseMercatorProjection()
public TransverseMercatorProjection(Ellipsoid ellipsoid, double lon_0, double lat_0, double k, double x_0, double y_0)
public void setSouthernHemisphere(boolean isSouth)
setSouthernHemisphere
in class Projection
public boolean getSouthernHemisphere()
getSouthernHemisphere
in class Projection
public Object clone()
clone
in class Projection
public boolean isRectilinear()
Projection
isRectilinear
in class CylindricalProjection
public void initialize()
Projection
initialize
in class Projection
public static int getRowFromNearestParallel(double latitude)
public static int getZoneFromNearestMeridian(double longitude)
public void setUTMZone(int zone)
public ProjCoordinate project(double lplam, double lpphi, ProjCoordinate xy)
Projection
project
in class Projection
lplam
- the geographic x ordinate (in radians)lpphi
- the geographic y ordinatee (in radians)xy
- 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 String toString()
toString
in class CylindricalProjection
Copyright © 2021. All rights reserved.