Package one.empty3.library.utils
Class Angle
- java.lang.Object
-
- one.empty3.library.utils.Angle
-
public class Angle extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Angle()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Angle
convert(int pType)
static Angle
degree(double value)
static Angle
radian(double value)
-
-
-
Field Detail
-
NONE
public static final int NONE
- See Also:
- Constant Field Values
-
DEG
public static final int DEG
- See Also:
- Constant Field Values
-
RAD
public static final int RAD
- See Also:
- Constant Field Values
-
-
Method Detail
-
degree
public static Angle degree(double value) throws AngleTypeException
- Throws:
AngleTypeException
-
radian
public static Angle radian(double value) throws AngleTypeException
- Throws:
AngleTypeException
-
convert
public Angle convert(int pType) throws AngleTypeException
- Throws:
AngleTypeException
-
-