public enum SpatialOperation extends java.lang.Enum<SpatialOperation>
| Enum Constant and Description |
|---|
AnyInteract |
IsInside |
None |
WithinDistance |
| Modifier and Type | Method and Description |
|---|---|
static SpatialOperation |
fromOrdinal(int ordinal)
Gets the enum value associated to the given ordinal
|
int |
getOrdinal()
Gets the ordinal value of the current enum value
|
static SpatialOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpatialOperation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final SpatialOperation None
public static final SpatialOperation IsInside
public static final SpatialOperation AnyInteract
public static final SpatialOperation WithinDistance
public static SpatialOperation[] values()
for (SpatialOperation c : SpatialOperation.values())
System.out.println(c);
public static SpatialOperation 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 SpatialOperation fromOrdinal(int ordinal)
ordinal - an ordinalCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.