Package mil.nga.crs

Class CRS

    • Constructor Detail

      • CRS

        public CRS()
        Constructor
      • CRS

        public CRS​(CRSType type)
        Constructor
        Parameters:
        type - coordinate reference system type
    • Method Detail

      • getType

        public CRSType getType()
        Get the type
        Returns:
        type
      • setType

        public void setType​(CRSType type)
        Set the type
        Parameters:
        type - type
      • getCategoryType

        public CategoryType getCategoryType()
        Get the category type
        Returns:
        category type
      • getExtras

        public Map<String,​Object> getExtras()
        Get temporary extras that are not part of the CRS definition
        Returns:
        extras
      • hasExtras

        public boolean hasExtras()
        Determine if there are temporary extras that are not part of the CRS definition
        Returns:
        true if extras
      • numExtras

        public int numExtras()
        Get the number of temporary extras that are not part of the CRS definition
        Returns:
        number of extras
      • getExtra

        public Object getExtra​(String name)
        Get the temporary extra with the name
        Parameters:
        name - extra name
        Returns:
        extra value or null
      • setExtras

        public void setExtras​(Map<String,​Object> extras)
        Set the temporary extras that are not part of the CRS definition
        Parameters:
        extras - extras
      • addExtra

        public void addExtra​(String name,
                             Object extra)
        Add the temporary extra which is not part of the CRS definition
        Parameters:
        name - extra name
        extra - extra value
      • addExtras

        public void addExtras​(Map<String,​Object> extras)
        Add the temporary extras which are not part of the CRS definition
        Parameters:
        extras - extra values
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object