/*$************************************************************************************************
**
** $Id: CoordinateSystem.java 831 2006-05-01 00:27:23Z Desruisseaux $
**
** $URL: http://svn.code.sf.net/p/geoapi/code/branches/2.0.x/geoapi/src/main/java/org/opengis/referencing/cs/CoordinateSystem.java $
**
** Copyright (C) 2003-2005 Open GIS Consortium, Inc.
** All Rights Reserved. http://www.opengis.org/legal/
**
*************************************************************************************************/
package org.opengis.referencing.cs;
// OpenGIS direct dependencies
import org.opengis.referencing.IdentifiedObject;
// Annotations
import org.opengis.annotation.UML;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
/**
* The set of coordinate system axes that spans a given coordinate space. A coordinate system (CS)
* is derived from a set of (mathematical) rules for specifying how coordinates in a given space
* are to be assigned to points. The coordinate values in a coordinate tuple shall be recorded in
* the order in which the coordinate system axes associations are recorded, whenever those
* coordinates use a coordinate reference system that uses this coordinate system.
*
* @version Abstract specification 2.0
* @author ISO/DIS 19111
* @author Martin Desruisseaux (IRD)
* @since GeoAPI 1.0
*
* @see org.opengis.referencing.cs.CoordinateSystemAxis
* @see javax.units.Unit
* @see org.opengis.referencing.datum.Datum
* @see org.opengis.referencing.crs.CoordinateReferenceSystem
*/
@UML(identifier="CS_CoordinateSystem", specification=ISO_19111)
public interface CoordinateSystem extends IdentifiedObject {
/**
* Returns the dimension of the coordinate system.
*
* @return The dimension of the coordinate system.
*/
int getDimension();
/**
* Returns the axis for this coordinate system at the specified dimension.
* Each coordinate system must have at least one axis.
*
* @param dimension The zero based index of axis.
* @return The axis at the specified dimension.
* @throws IndexOutOfBoundsException if {@code dimension} is out of bounds.
*/
@UML(identifier="usesAxis", obligation=MANDATORY, specification=ISO_19111)
CoordinateSystemAxis getAxis(int dimension) throws IndexOutOfBoundsException;
}
Ads help maintain this website.