public enum BinaryInteraction extends java.lang.Enum<BinaryInteraction>
Enum Constant and Description |
---|
ANY
Any interaction
|
CROSS
Two elements crossing
|
TOUCH
One element touching any point of another element
|
TOUCH_END_POINT
One element touching one end point of a line
|
TOUCH_MID_POINT
One element touching some mid point of a line
|
Modifier and Type | Method and Description |
---|---|
int |
getOrdinal() |
static BinaryInteraction |
valueOf(int value) |
static BinaryInteraction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BinaryInteraction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final BinaryInteraction CROSS
public static final BinaryInteraction TOUCH_END_POINT
public static final BinaryInteraction TOUCH_MID_POINT
public static final BinaryInteraction TOUCH
public static final BinaryInteraction ANY
public static BinaryInteraction[] values()
for (BinaryInteraction c : BinaryInteraction.values()) System.out.println(c);
public static BinaryInteraction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getOrdinal()
public static BinaryInteraction valueOf(int value)