Package org.geotools.referencing.cs
Class DefaultCompoundCS
Object
Formattable
AbstractIdentifiedObject
AbstractCS
DefaultCompoundCS
- All Implemented Interfaces:
Serializable,CoordinateSystem,IdentifiedObject
A coordinate system made of two or more independent coordinate systems.
| Used with CRS type(s) |
|---|
Compound
|
- Since:
- 2.1
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Field Summary
Fields inherited from class AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORFields inherited from class Formattable
SINGLE_LINEFields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a compound coordinate system. -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(AbstractIdentifiedObject object, boolean compareMetadata) Compares this coordinate system with the specified object for equality.Returns all coordinate systems in this compound CS.Methods inherited from class AbstractCS
distance, formatWKT, getAxis, getDimension, hashCode, isCompatibleDirection, isCompatibleUnit, standard, swapAndScaleAxisMethods inherited from class AbstractIdentifiedObject
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatchesMethods inherited from class Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKTMethods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
Constructor Details
-
DefaultCompoundCS
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.
-
-
Method Details
-
getCoordinateSystems
Returns all coordinate systems in this compound CS. -
equals
Compares this coordinate system with the specified object for equality.- Overrides:
equalsin classAbstractCS- Parameters:
object- The object to compare tothis.compareMetadata-truefor performing a strict comparaison, orfalsefor comparing only properties relevant to transformations.- Returns:
trueif both objects are equal.
-