Class DefaultCompoundCS

All Implemented Interfaces:
Serializable, CoordinateSystem, IdentifiedObject

public class DefaultCompoundCS extends AbstractCS
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:
  • Constructor Details

    • 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.
  • Method Details

    • getCoordinateSystems

      public List<CoordinateSystem> 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 this.
      compareMetadata - true for performing a strict comparaison, or false for comparing only properties relevant to transformations.
      Returns:
      true if both objects are equal.