Class AngleUnits
java.lang.Object
uk.ac.starlink.ttools.cone.AngleUnits
Defines a unit of angle measurement.
- Since:
- 5 Nov 2007
- Author:
- Mark Taylor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AngleUnitsDegrees.static final AngleUnitsRadians. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEGREES
Degrees. -
RADIANS
Radians.
-
-
Constructor Details
-
AngleUnits
Constructor.- Parameters:
name- unit namecircle- number of units in an entire revolution
-
-
Method Details
-
getCircle
public double getCircle()Returns the number of these units in an entire revolution.- Returns:
- quantity in a circle
-
getName
-
equals
-
hashCode
-