|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.cs.CRSIdentifiable org.deegree.cs.projections.Projection org.deegree.cs.projections.cylindric.CylindricalProjection org.deegree.cs.projections.cylindric.TransverseMercator
public class TransverseMercator
The TransverseMercator
projection has following properties:
Constructor Summary | |
---|---|
TransverseMercator(boolean northernHemisphere,
double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units,
double scale)
Sets the id to EPSG:9807 |
|
TransverseMercator(boolean northernHemisphere,
double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units,
double scale,
CRSResource id)
|
|
TransverseMercator(double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units)
A northern hemisphere conformal transverse mercator projection with a scale of one. |
|
TransverseMercator(double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units,
CRSResource id)
A northern hemisphere conformal transverse mercator projection with a scale of one. |
|
TransverseMercator(int zone,
boolean northernHemisphere,
IUnit units)
Sets the false-easting to 50000, false-northing to 0 or 10000000 (depending on the hemisphere), the projection-longitude is calculated from the zone and the projection-latitude is set to 0. |
|
TransverseMercator(int zone,
boolean northernHemisphere,
IUnit units,
CRSResource id)
Sets the false-easting to 50000, false-northing to 0 or 10000000 (depending on the hemisphere), the projection-longitude is calculated from the zone and the projection-latitude is set to 0. |
Method Summary | |
---|---|
javax.vecmath.Point2d |
doInverseProjection(IGeographicCRS geographicCRS,
double x,
double y)
Do an inverse projection from projected (map) coordinates to geographic coordinates. |
javax.vecmath.Point2d |
doProjection(IGeographicCRS geographicCRS,
double lambda,
double phi)
The actual transform method doing a projection from geographic coordinates to map coordinates. |
boolean |
getHemisphere()
|
String |
getImplementationName()
|
int |
getRowFromNearestParallel(double latitude)
|
int |
getZoneFromNearestMeridian(double longitude)
the utm zone from a given meridian |
Methods inherited from class org.deegree.cs.projections.Projection |
---|
equals, getCosphi0, getEccentricity, getEllipsoid, getFalseEasting, getFalseNorthing, getNaturalOrigin, getPrimeMeridian, getProjectionLatitude, getProjectionLongitude, getScale, getScaleFactor, getSemiMajorAxis, getSemiMinorAxis, getSinphi0, getSquaredEccentricity, getUnits, hashCode, isConformal, isEqualArea, isSpherical, setFalseEasting, setScale, toString |
Methods inherited from class org.deegree.cs.CRSIdentifiable |
---|
addAreaOfUse, addName, checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getId, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deegree.cs.projections.IProjection |
---|
getCosphi0, getEccentricity, getEllipsoid, getFalseEasting, getFalseNorthing, getNaturalOrigin, getPrimeMeridian, getProjectionLatitude, getProjectionLongitude, getScale, getScaleFactor, getSemiMajorAxis, getSemiMinorAxis, getSinphi0, getSquaredEccentricity, getUnits, isConformal, isEqualArea, isSpherical, setFalseEasting, setScale |
Methods inherited from interface org.deegree.cs.CRSResource |
---|
addAreaOfUse, addName, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion |
Methods inherited from interface org.deegree.commons.tom.Object |
---|
getId |
Constructor Detail |
---|
public TransverseMercator(boolean northernHemisphere, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, double scale, CRSResource id)
northernHemisphere
- true if on the northern hemisphere false otherwise.geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- scale
- id
- an identifiable instance containing information about this projectionpublic TransverseMercator(boolean northernHemisphere, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, double scale)
northernHemisphere
- true if on the northern hemisphere false otherwise.geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- scale
- public TransverseMercator(int zone, boolean northernHemisphere, IUnit units, CRSResource id)
zone
- to addnorthernHemisphere
- true if the projection is on the northern hemispheregeographicCRS
- units
- id
- an identifiable instance containing information about this projectionpublic TransverseMercator(int zone, boolean northernHemisphere, IUnit units)
zone
- to addnorthernHemisphere
- true if the projection is on the northern hemispheregeographicCRS
- units
- public TransverseMercator(double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units)
geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- public TransverseMercator(double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, CRSResource id)
geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- id
- an identifiable instance containing information about this projectionMethod Detail |
---|
public javax.vecmath.Point2d doInverseProjection(IGeographicCRS geographicCRS, double x, double y) throws ProjectionException
Projection
doInverseProjection
in interface IProjection
doInverseProjection
in class Projection
x
- coordinate on the mapy
- coordinate on the map
ProjectionException
- if the given x and y coordinates could not be inverted to lambda and phi.public javax.vecmath.Point2d doProjection(IGeographicCRS geographicCRS, double lambda, double phi) throws ProjectionException
Projection
doProjection
in interface IProjection
doProjection
in class Projection
lambda
- the longitudephi
- the latitude
ProjectionException
- if the given lamba and phi coordinates could not be projected to x and y.public int getRowFromNearestParallel(double latitude)
getRowFromNearestParallel
in interface ITransverseMercator
latitude
- to get the nearest paralles to.
public int getZoneFromNearestMeridian(double longitude)
getZoneFromNearestMeridian
in interface ITransverseMercator
longitude
- in radians
public String getImplementationName()
getImplementationName
in interface IProjection
getImplementationName
in class Projection
public final boolean getHemisphere()
getHemisphere
in interface ITransverseMercator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |