public class AngleUnits extends Object
Modifier and Type | Field and Description |
---|---|
static AngleUnits |
DEGREES
Degrees.
|
static AngleUnits |
RADIANS
Radians.
|
Constructor and Description |
---|
AngleUnits(String name,
double circle)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
double |
getCircle()
Returns the number of these units in an entire revolution.
|
String |
getName()
Returns the name of this unit.
|
int |
hashCode() |
public static final AngleUnits DEGREES
public static final AngleUnits RADIANS
public AngleUnits(String name, double circle)
name
- unit namecircle
- number of units in an entire revolutionpublic double getCircle()
public String getName()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.