Class Ellipsoid

    • Constructor Detail

      • Ellipsoid

        public Ellipsoid()
        Constructor
      • Ellipsoid

        public Ellipsoid​(String name,
                         double semiMajorAxis,
                         double inverseFlattening)
        Constructor
        Parameters:
        name - name
        semiMajorAxis - semi major axis
        inverseFlattening - inverse flattening
      • Ellipsoid

        public Ellipsoid​(String name,
                         String semiMajorAxis,
                         String inverseFlattening)
        Constructor
        Parameters:
        name - name
        semiMajorAxis - semi major axis
        inverseFlattening - inverse flattening
        Since:
        1.1.0
    • Method Detail

      • getType

        public EllipsoidType getType()
        Get the Ellipsoid Type
        Returns:
        ellipsoid type
      • getName

        public String getName()
        Get the name
        Returns:
        name
      • setName

        public void setName​(String name)
        Set the name
        Parameters:
        name - name
      • getSemiMajorAxis

        public double getSemiMajorAxis()
        Get the semi major axis
        Returns:
        semi major axis
      • getSemiMajorAxisText

        public String getSemiMajorAxisText()
        Get the semi major axis text
        Returns:
        semi major axis text
        Since:
        1.1.0
      • setSemiMajorAxis

        public void setSemiMajorAxis​(double semiMajorAxis)
        Set the semi major axis
        Parameters:
        semiMajorAxis - semi major axis
      • setSemiMajorAxis

        public void setSemiMajorAxis​(String semiMajorAxis)
        Set the semi major axis
        Parameters:
        semiMajorAxis - semi major axis
        Since:
        1.1.0
      • getInverseFlattening

        public double getInverseFlattening()
        Get the inverse flattening
        Returns:
        inverse flattening
      • getInverseFlatteningText

        public String getInverseFlatteningText()
        Get the inverse flattening text
        Returns:
        inverse flattening text
        Since:
        1.1.0
      • setInverseFlattening

        public void setInverseFlattening​(double inverseFlattening)
        Set the inverse flattening
        Parameters:
        inverseFlattening - inverse flattening
      • setInverseFlattening

        public void setInverseFlattening​(String inverseFlattening)
        Set the inverse flattening
        Parameters:
        inverseFlattening - inverse flattening
        Since:
        1.1.0
      • getUnit

        public Unit getUnit()
        Get the unit (length)
        Returns:
        unit (length)
      • hasUnit

        public boolean hasUnit()
        Has a unit (length)
        Returns:
        true if has unit (length)
      • setUnit

        public void setUnit​(Unit unit)
        Set the unit (length)
        Parameters:
        unit - unit (length)
      • hasIdentifiers

        public boolean hasIdentifiers()
        Has identifiers
        Specified by:
        hasIdentifiers in interface Identifiable
        Returns:
        true if has identifiers
      • numIdentifiers

        public int numIdentifiers()
        Number of identifiers
        Specified by:
        numIdentifiers in interface Identifiable
        Returns:
        identifiers count
      • getIdentifier

        public Identifier getIdentifier​(int index)
        Get the identifier at the index
        Specified by:
        getIdentifier in interface Identifiable
        Parameters:
        index - identifier index
        Returns:
        identifier
      • addIdentifier

        public void addIdentifier​(Identifier identifier)
        Add the identifier
        Specified by:
        addIdentifier in interface Identifiable
        Parameters:
        identifier - identifier
      • getPoleRadius

        public double getPoleRadius()
        Get the pole radius
        Returns:
        pole radius
        Since:
        1.1.0
      • getPoleRadiusText

        public String getPoleRadiusText()
        Get the pole radius text
        Returns:
        pole radius text
        Since:
        1.1.0
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object