org.geotools.referencing.cs
Class DefaultCompoundCS
java.lang.Object
org.geotools.referencing.wkt.Formattable
org.geotools.referencing.AbstractIdentifiedObject
org.geotools.referencing.cs.AbstractCS
org.geotools.referencing.cs.DefaultCompoundCS
- All Implemented Interfaces:
- org.opengis.referencing.cs.CoordinateSystem, org.opengis.referencing.IdentifiedObject, java.io.Serializable
- public class DefaultCompoundCS
- extends AbstractCS
A coordinate system made of two or more independent coordinate systems.
- Since:
- 2.1
- Version:
- $Id: DefaultCompoundCS.java 17672 2006-01-19 00:25:55Z desruisseaux $
- Author:
- Martin Desruisseaux
- See Also:
- Serialized Form
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary |
DefaultCompoundCS(org.opengis.referencing.cs.CoordinateSystem[] cs)
Constructs a compound coordinate system. |
Methods inherited from class org.geotools.referencing.AbstractIdentifiedObject |
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
getAlias, getIdentifiers, getName, getRemarks, toWKT |
DefaultCompoundCS
public DefaultCompoundCS(org.opengis.referencing.cs.CoordinateSystem[] cs)
- Constructs a compound coordinate system. A name for this CS will
be automatically constructed from the name of all specified CS.
- Parameters:
cs
- The set of coordinate syztem.
getCoordinateSystems
public java.util.List getCoordinateSystems()
- Returns all coordinate systems in this compound CS.
equals
public boolean equals(AbstractIdentifiedObject object,
boolean compareMetadata)
- Compares this coordinate system with the specified object for equality.
- Overrides:
equals
in class AbstractCS
- Parameters:
object
- The object to compare to .compareMetadata
- for performing a strict comparaison, or
for comparing only properties relevant to transformations.
- Returns:
- if both objects are equal.
Copyright © GeoTools. All Rights Reserved.