com.azalient.apo.enums
Enum TurnAngle
java.lang.Object
java.lang.Enum<TurnAngle>
com.azalient.apo.enums.TurnAngle
- All Implemented Interfaces:
- Serializable, Comparable<TurnAngle>
public enum TurnAngle
- extends Enum<TurnAngle>
Categorisations of turns based on angle: left, right, ahead, ...
|
Field Summary |
static double |
AQ
|
LEFT
public static final TurnAngle LEFT
RIGHT
public static final TurnAngle RIGHT
AHEAD
public static final TurnAngle AHEAD
AHEAD_LEFT
public static final TurnAngle AHEAD_LEFT
AHEAD_RIGHT
public static final TurnAngle AHEAD_RIGHT
AQ
public static final double AQ
- See Also:
- Constant Field Values
values
public static TurnAngle[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TurnAngle c : TurnAngle.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TurnAngle valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
turnAngle
public static TurnAngle turnAngle(IStream s,
boolean onRight)
turnAngle
public static TurnAngle turnAngle(ILink link,
ILink exit,
boolean onRight)