org.jscience.geography.coordinates.crs
Class CompoundCRS<C1 extends Coordinates<?>,C2 extends Coordinates<?>>
java.lang.Object
org.jscience.geography.coordinates.crs.CoordinateReferenceSystem<CompoundCoordinates<C1,C2>>
org.jscience.geography.coordinates.crs.CompoundCRS<C1,C2>
- All Implemented Interfaces:
- org.opengis.referencing.crs.CoordinateReferenceSystem, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.ReferenceSystem
public class CompoundCRS<C1 extends Coordinates<?>,C2 extends Coordinates<?>>
- extends CoordinateReferenceSystem<CompoundCoordinates<C1,C2>>
This class represents a coordinate reference system combining two or more
distinct reference systems.
- Version:
- 3.0, February 13, 2006
- Author:
- Jean-Marie Dautelle
| Fields inherited from interface org.opengis.referencing.ReferenceSystem |
SCOPE_KEY, VALID_AREA_KEY |
| Fields inherited from interface org.opengis.referencing.IdentifiedObject |
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompoundCRS
public CompoundCRS(CoordinateReferenceSystem<C1> first,
CoordinateReferenceSystem<C2> next)
coordinatesOf
protected CompoundCoordinates<C1,C2> coordinatesOf(CoordinateReferenceSystem.AbsolutePosition position)
- Description copied from class:
CoordinateReferenceSystem
- Returns the coordinates in this reference system of the specified
absolute position.
- Specified by:
coordinatesOf in class CoordinateReferenceSystem<CompoundCoordinates<C1 extends Coordinates<?>,C2 extends Coordinates<?>>>
- Parameters:
position - the absolute position for which the coordinates
in this reference system is returned.
- Returns:
- the coordinates for the specified absolute position.
positionOf
protected CoordinateReferenceSystem.AbsolutePosition positionOf(CompoundCoordinates<C1,C2> coordinates,
CoordinateReferenceSystem.AbsolutePosition position)
- Description copied from class:
CoordinateReferenceSystem
- Returns the absolute position from the coordinates in
this reference system. This update may require information already
supplied by the position. For example, the height for a pressure
altitude might depends upon the latitude/longitude and the time.
- Specified by:
positionOf in class CoordinateReferenceSystem<CompoundCoordinates<C1 extends Coordinates<?>,C2 extends Coordinates<?>>>
- Parameters:
coordinates - the coordinates for which the absolute position
is adjusted.position - the position object to update.
- Returns:
- the corresponding absolute position.
getCoordinateSystem
public org.opengis.referencing.cs.CoordinateSystem getCoordinateSystem()
- Description copied from class:
CoordinateReferenceSystem
- Returns the OpenGIS coordinate system associated to this
coordinate reference system.
- Specified by:
getCoordinateSystem in interface org.opengis.referencing.crs.CoordinateReferenceSystem- Specified by:
getCoordinateSystem in class CoordinateReferenceSystem<CompoundCoordinates<C1 extends Coordinates<?>,C2 extends Coordinates<?>>>
- Returns:
- the corresponding coordinate system.
Copyright © 2006 - 2007 JScience.