org.deegree.cs.coordinatesystems
Interface IProjectedCRS

All Superinterfaces:
CRSResource, ICRS, Object, TypedObjectNode
All Known Implementing Classes:
ProjectedCRS, ProjectedCRSRef

public interface IProjectedCRS
extends ICRS

Interface describing a ProjectedCRS

Version:
$Revision: $, $Date: $
Author:
Lyn Buesching, last edited by: $Author: lyn $

Method Summary
 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.
 IGeographicCRS getGeographicCRS()
           
 IProjection getProjection()
           
 
Methods inherited from interface org.deegree.cs.coordinatesystems.ICRS
convertToAxis, equalsWithFlippedAxis, getAlias, getAxis, getDatum, getDimension, getDirectTransformation, getEasting, getGeodeticDatum, getNorthing, getTransformations, getType, getUnits, getValidDomain, hasDirectTransformation
 
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
 

Method Detail

getGeographicCRS

IGeographicCRS getGeographicCRS()
Returns:
the underlyingCRS.

getProjection

IProjection getProjection()
Returns:
the projection.

doProjection

javax.vecmath.Point2d doProjection(double lambda,
                                   double phi)
                                   throws ProjectionException
The actual transform method doing a projection from geographic coordinates to map coordinates.

Parameters:
lambda - the longitude
phi - the latitude
Returns:
the projected Point or Point(Double.NAN, Double.NAN) if an error occurred.
Throws:
ProjectionException - if the given lamba and phi coordinates could not be projected to x and y.

doInverseProjection

javax.vecmath.Point2d doInverseProjection(double x,
                                          double y)
                                          throws ProjectionException
Do an inverse projection from projected (map) coordinates to geographic coordinates.

Parameters:
x - coordinate on the map
y - coordinate on the map
Returns:
the projected Point with x = lambda and y = phi;
Throws:
ProjectionException - if the given x and y coordinates could not be inverted to lambda and phi.


Copyright © 2011. All Rights Reserved.