org.deegree.cs.refs.projections
Class TransverseMercatorRef
java.lang.Object
org.deegree.commons.tom.Reference<T>
org.deegree.cs.refs.CRSResourceRef<IProjection>
org.deegree.cs.refs.projections.ProjectionRef
org.deegree.cs.refs.projections.TransverseMercatorRef
- All Implemented Interfaces:
- Serializable, Object, TypedObjectNode, CRSResource, ITransverseMercator, IProjection
public class TransverseMercatorRef
- extends ProjectionRef
- implements Serializable, ITransverseMercator
ProjectionRef
to a TransverseMercator
- Version:
- $Revision: $, $Date: $
- Author:
- Lyn Buesching, last edited by: $Author: lyn $
- See Also:
- Serialized Form
Methods inherited from class org.deegree.cs.refs.projections.ProjectionRef |
doInverseProjection, doProjection, getCosphi0, getEccentricity, getEllipsoid, getFalseEasting, getFalseNorthing, getImplementationName, getNaturalOrigin, getPrimeMeridian, getProjectionLatitude, getProjectionLongitude, getScale, getScaleFactor, getSemiMajorAxis, getSemiMinorAxis, getSinphi0, getSquaredEccentricity, getUnits, isConformal, isEqualArea, isSpherical, setFalseEasting, setScale |
Methods inherited from class org.deegree.cs.refs.CRSResourceRef |
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.cs.projections.IProjection |
doInverseProjection, doProjection, getCosphi0, getEccentricity, getEllipsoid, getFalseEasting, getFalseNorthing, getImplementationName, 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 |
TransverseMercatorRef
public TransverseMercatorRef(ReferenceResolver resolver,
String uri,
String baseURL)
- Creates a reference to
TransverseMercator
- Parameters:
resolver
- used for resolving the reference, must not be null
uri
- the object's uri, must not be null
baseURL
- base URL for resolving the uri, may be null
(no resolving of relative URLs)
getRowFromNearestParallel
public int getRowFromNearestParallel(double latitude)
- Specified by:
getRowFromNearestParallel
in interface ITransverseMercator
- Parameters:
latitude
- to get the nearest paralles to.
- Returns:
- the nearest parallel in radians of given latitude
getZoneFromNearestMeridian
public int getZoneFromNearestMeridian(double longitude)
- Description copied from interface:
ITransverseMercator
- the utm zone from a given meridian
- Specified by:
getZoneFromNearestMeridian
in interface ITransverseMercator
- Parameters:
longitude
- in radians
- Returns:
- the utm zone.
getHemisphere
public boolean getHemisphere()
- Specified by:
getHemisphere
in interface ITransverseMercator
- Returns:
- the true if defined on the northern hemisphere.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class ProjectionRef
getReferencedObject
public TransverseMercator getReferencedObject()
throws ReferenceResolvingException
- Description copied from class:
Reference
- Returns the referenced
Object
instance (may trigger resolving and fetching it).
- Overrides:
getReferencedObject
in class Reference<IProjection>
- Returns:
- the referenced
Object
instance
- Throws:
ReferenceResolvingException
- if the reference cannot be resolved
Copyright © 2011. All Rights Reserved.