Class SimpleCRS

    • Constructor Detail

      • SimpleCRS

        public SimpleCRS​(Citation authority,
                         String name,
                         CoordinateSystemAxis... axes)
        Creates a new CRS for the given name, datum and axes.
        Parameters:
        authority - organization responsible for definition of the CRS, or null.
        name - the name of the new CRS.
        axes - the axes to be returned by getAxis(int). The length of this array is the coordinate system dimension.
    • Method Detail

      • getDimension

        public final int getDimension()
        Returns the dimension of the coordinate system.
        Specified by:
        getDimension in interface CoordinateSystem
        Returns:
        the dimension of the coordinate system.
      • equals

        public boolean equals​(Object object)
        Compares this CRS with the given object for equality.
        Overrides:
        equals in class SimpleIdentifiedObject
        Parameters:
        object - the object to compare with this SimpleCRS.
        Returns:
        true if the given object is equals to this object.