|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.cs.CRSIdentifiable
org.deegree.cs.projections.Projection
org.deegree.cs.projections.cylindric.CylindricalProjection
org.deegree.cs.projections.cylindric.Mercator
public class Mercator
The Mercator projection has following properties:
| Constructor Summary | |
|---|---|
Mercator(GeographicCRS geographicCRS,
double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
Unit units,
double scale)
Sets the id to EPSG:9804 |
|
Mercator(GeographicCRS geographicCRS,
double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
Unit units,
double scale,
CRSIdentifiable id)
|
|
| Method Summary | |
|---|---|
Projection |
clone(GeographicCRS newCRS)
Creates a copy of this projection with the given GeographicCRS as the base. |
javax.vecmath.Point2d |
doInverseProjection(double x,
double y)
Do an inverse projection from projected (map) coordinates to geographic coordinates. |
javax.vecmath.Point2d |
doProjection(double lambda,
double phi)
The actual transform method doing a projection from geographic coordinates to map coordinates. |
java.lang.String |
getImplementationName()
|
| Methods inherited from class org.deegree.cs.projections.Projection |
|---|
equals, getCosphi0, getDatum, getEccentricity, getEllipsoid, getFalseEasting, getFalseNorthing, getGeographicCRS, 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, 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 |
| Constructor Detail |
|---|
public Mercator(GeographicCRS geographicCRS,
double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
Unit units,
double scale,
CRSIdentifiable id)
geographicCRS - falseNorthing - falseEasting - naturalOrigin - units - scale - id - an identifiable instance containing information about this projection
public Mercator(GeographicCRS geographicCRS,
double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
Unit units,
double scale)
geographicCRS - falseNorthing - falseEasting - naturalOrigin - units - scale - | Method Detail |
|---|
public javax.vecmath.Point2d doInverseProjection(double x,
double y)
throws ProjectionException
Projection
doInverseProjection in class Projectionx - 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(double lambda,
double phi)
throws ProjectionException
Projection
doProjection in class Projectionlambda - the longitudephi - the latitude
ProjectionException - if the given lamba and phi coordinates could not be projected to x and y.public java.lang.String getImplementationName()
getImplementationName in class Projectionpublic Projection clone(GeographicCRS newCRS)
ProjectionGeographicCRS as the base.
clone in class ProjectionnewCRS - the new GeographicCRS
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||