public class Rotation extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEGREES
String for units in degrees.
|
static String |
RADIANS
String for units in radians.
|
public static final String DEGREES
public static final String RADIANS
public Rotation()
public Rotation(double angle, String units)
angle
- the angle of the rotationunits
- the units of the angleIllegalArgumentException
- if units is not equal
to Rotation.DEGREES or Rotation.RADIANS