|
||||||||||
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.azimuthal.AzimuthalProjection org.deegree.cs.projections.azimuthal.StereographicAzimuthal
public class StereographicAzimuthal
The StereographicAzimuthal
class allows for Stereographic Projections of the Poles, equator as well as
oblique. This projection has following properties (Snyder p. 154):
Like Orthographic, the stereographic projection is a true perspective in its isSpherical() form. It is the only known true perspective projection of any kind that is also conformal. Its point of projection is on the the surface of the sphere at a point jus opposite the oint of tangency of the plane or the center point of the projection. Thus, if the north pole is the center of the map, the projection is from the south-pole.
It is known to be used by following epsg transformations:
Field Summary |
---|
Fields inherited from class org.deegree.cs.projections.azimuthal.AzimuthalProjection |
---|
EQUATOR, NORTH_POLE, OBLIQUE, SOUTH_POLE |
Constructor Summary | |
---|---|
StereographicAzimuthal(double trueScaleLatitude,
double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units)
Create a StereographicAzimuthal which has a scale of 1 and a true scale latitude. |
|
StereographicAzimuthal(double trueScaleLatitude,
double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units,
CRSIdentifiable id)
Create a StereographicAzimuthal which has a scale of 1 and a true scale latitude, |
|
StereographicAzimuthal(double trueScaleLatitude,
double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units,
double scale)
Sets the id to "Snyder-StereoGraphic" |
|
StereographicAzimuthal(double trueScaleLatitude,
double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units,
double scale,
CRSResource id)
|
|
StereographicAzimuthal(double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units)
Create a StereographicAzimuthal which is conformal, has a scale of 1 and a truescale latitude at pi*0.5. |
|
StereographicAzimuthal(double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units,
CRSResource id)
Create a StereographicAzimuthal which is conformal, has a scale of 1 and a truescale latitude at pi*0.5. |
|
StereographicAzimuthal(double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units,
double scale)
Create a StereographicAzimuthal which has a true scale latitude at MapUtils.HALFPI. |
|
StereographicAzimuthal(double falseNorthing,
double falseEasting,
javax.vecmath.Point2d naturalOrigin,
IUnit units,
double scale,
CRSResource id)
Create a StereographicAzimuthal which has a true scale latitude at MapUtils.HALFPI. |
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. |
String |
getImplementationName()
|
double |
getTrueScaleLatitude()
|
Methods inherited from class org.deegree.cs.projections.azimuthal.AzimuthalProjection |
---|
getMode, hashCode |
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, 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.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 StereographicAzimuthal(double trueScaleLatitude, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, double scale, CRSResource id)
trueScaleLatitude
- the latitude (in radians) of a circle around the projection point, which contains the true scale.geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- scale
- id
- an identifiable instance containing information about this projectionpublic StereographicAzimuthal(double trueScaleLatitude, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, double scale)
trueScaleLatitude
- the latitude (in radians) of a circle around the projection point, which contains the true scale.geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- scale
- public StereographicAzimuthal(double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, double scale, CRSResource id)
StereographicAzimuthal
which has a true scale latitude at MapUtils.HALFPI.
geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- scale
- id
- an identifiable instance containing information about this projectionpublic StereographicAzimuthal(double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, double scale)
StereographicAzimuthal
which has a true scale latitude at MapUtils.HALFPI. Sets the id to
"Snyder-StereoGraphic"
geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- scale
- public StereographicAzimuthal(double trueScaleLatitude, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, CRSIdentifiable id)
StereographicAzimuthal
which has a scale of 1 and a true scale latitude,
trueScaleLatitude
- the latitude (in radians) of a circle around the projection point, which contains the true scale.geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- id
- an identifiable instance containing information about this projectionpublic StereographicAzimuthal(double trueScaleLatitude, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units)
StereographicAzimuthal
which has a scale of 1 and a true scale latitude. Sets the id to
"Snyder-StereoGraphic".
trueScaleLatitude
- the latitude (in radians) of a circle around the projection point, which contains the true scale.geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- public StereographicAzimuthal(double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, CRSResource id)
StereographicAzimuthal
which is conformal, has a scale of 1 and a truescale latitude at pi*0.5.
geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- id
- an identifiable instance containing information about this projectionpublic StereographicAzimuthal(double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units)
StereographicAzimuthal
which is conformal, has a scale of 1 and a truescale latitude at pi*0.5.
Sets the id to "Snyder-StereoGraphic".
geographicCRS
- falseNorthing
- falseEasting
- naturalOrigin
- units
- Method Detail |
---|
public javax.vecmath.Point2d doInverseProjection(IGeographicCRS geographicCRS, double x, double y)
Projection
doInverseProjection
in interface IProjection
doInverseProjection
in class Projection
x
- coordinate on the mapy
- coordinate on the map
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 String getImplementationName()
getImplementationName
in interface IProjection
getImplementationName
in class Projection
public final double getTrueScaleLatitude()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |