Enum Class DirectionalLine.Side
- All Implemented Interfaces:
Serializable
,Comparable<DirectionalLine.Side>
,Constable
- Enclosing class:
- DirectionalLine
different values for the side a point can be at w.r.t. the line.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Returns the value from DSOL-1 before enum was introduced.static DirectionalLine.Side
Returns the enum constant of this class with the specified name.static DirectionalLine.Side[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BACKSIDE
point at the back of the line. -
COLLINEAR
point collinear with the line. -
FRONTSIDE
point in front of the line. -
SPANNING
other line is spanning this line.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Returns the value from DSOL-1 before enum was introduced.- Returns:
- int; the value from DSOL-1 before enum was introduced
-