Class SolidAngleUnit


  • public class SolidAngleUnit
    extends Unit
    Unit for solid angle quantities. Base unit is a square degree.
    Since:
    16 Jan 2018
    Author:
    Mark Taylor
    • Constructor Detail

      • SolidAngleUnit

        public SolidAngleUnit​(java.lang.String label,
                              java.lang.String textName,
                              java.lang.String symbol,
                              AngleUnit linearAngleUnit,
                              java.lang.String description)
        Constructor.
        Parameters:
        label - text to appear in a selection interface
        textName - text to appear in user-directed descriptive text
        symbol - text to appear as unit metadata, preferably compatible with the VOUnit standard
        linearAngleUnit - unit corresponding to the square root of this
        description - textual description
    • Method Detail

      • getExtentInSquareDegrees

        public double getExtentInSquareDegrees()
        Returns the extent of this unit in square degrees.
        Returns:
        same as extent
      • getKnownUnits

        public static SolidAngleUnit[] getKnownUnits()
        Returns an array of the defined solid angle units.
        Returns:
        list of known values