public class SolidAngleUnit extends Unit
Modifier and Type | Field and Description |
---|---|
static SolidAngleUnit |
ARCMIN2
Square arcminute.
|
static SolidAngleUnit |
ARCSEC2
Square arcsecond.
|
static SolidAngleUnit |
DEGREE2
Square degree.
|
static SolidAngleUnit |
MAS2
Square milliarcsecond.
|
static SolidAngleUnit |
STERADIAN
Steradian.
|
static SolidAngleUnit |
UAS2
Square microarcsecond.
|
Constructor and Description |
---|
SolidAngleUnit(String label,
String textName,
String symbol,
AngleUnit linearAngleUnit,
String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getExtentInSquareDegrees()
Returns the extent of this unit in square degrees.
|
static SolidAngleUnit[] |
getKnownUnits()
Returns an array of the defined solid angle units.
|
equals, getDescription, getExtent, getLabel, getSymbol, getTextName, hashCode, toString
public static final SolidAngleUnit STERADIAN
public static final SolidAngleUnit DEGREE2
public static final SolidAngleUnit ARCMIN2
public static final SolidAngleUnit ARCSEC2
public static final SolidAngleUnit MAS2
public static final SolidAngleUnit UAS2
public SolidAngleUnit(String label, String textName, String symbol, AngleUnit linearAngleUnit, String description)
label
- text to appear in a selection interfacetextName
- text to appear in user-directed descriptive textsymbol
- text to appear as unit metadata,
preferably compatible with the VOUnit standardlinearAngleUnit
- unit corresponding to the square root of thisdescription
- textual descriptionpublic double getExtentInSquareDegrees()
public static SolidAngleUnit[] getKnownUnits()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.