org.geotoolkit.referencing.cs
Class DefaultCompoundCS
Object
FormattableObject
AbstractIdentifiedObject
AbstractCS
DefaultCompoundCS
- All Implemented Interfaces:
- Serializable, Formattable, LenientComparable, CoordinateSystem, IdentifiedObject
@Immutable
public class DefaultCompoundCS
- extends AbstractCS
A coordinate system made of two or more independent coordinate systems.
- Since:
- 2.0
- Version:
- 3.18
- Author:
- Martin Desruisseaux (IRD, Geomatys)
- See Also:
- Serialized Form
- Module:
DefaultCompoundCS
public DefaultCompoundCS(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 List<CoordinateSystem> getCoordinateSystems()
- Returns all coordinate systems in this compound CS.
- Returns:
- All coordinate systems in this compound CS.
equals
public boolean equals(Object object,
ComparisonMode mode)
- Compares this coordinate system with the specified object for equality.
- Specified by:
equals in interface LenientComparable- Overrides:
equals in class AbstractCS
- Parameters:
object - The object to compare to this.mode - STRICT for performing a strict comparison, or
IGNORE_METADATA for comparing only properties
relevant to transformations.
- Returns:
true if both objects are equal.
Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.