org.deegree.cs.components
Interface IPrimeMeridian
- All Superinterfaces:
- CRSResource, Object, TypedObjectNode
- All Known Implementing Classes:
- PrimeMeridian, PrimeMeridianRef
public interface IPrimeMeridian
- extends CRSResource
Interface describing a PrimeMeridian
- Version:
- $Revision: $, $Date: $
- Author:
- Lyn Buesching, last edited by: $Author: lyn $
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 |
getLongitude
double getLongitude()
- Returns:
- the longitude value relative to the Greenwich Meridian. The longitude is expressed in this objects
angular units.
getLongitude
double getLongitude(IUnit targetUnit)
- Parameters:
targetUnit
- The unit in which to express longitude.
- Returns:
- the longitude value relative to the Greenwich Meridian, expressed in the specified units. This
convenience method make easier to obtains longitude in degrees (
getLongitude(Unit.DEGREE)
),
no matter the underlying angular unit of this prime meridian.
getLongitudeAsRadian
double getLongitudeAsRadian()
- Returns:
- the longitude value relative to the Greenwich Meridian, expressed in the radians.
getAngularUnit
IUnit getAngularUnit()
- Returns:
- the angular unit.
setAngularUnit
void setAngularUnit(IUnit units)
- Parameters:
units
- to be used
setLongitude
void setLongitude(double lon,
IUnit degree)
- Parameters:
lon
- degree
-
Copyright © 2011. All Rights Reserved.