public enum QuadTreeSearchDirection extends java.lang.Enum<QuadTreeSearchDirection>
QuadTree
getElements operation.Enum Constant and Description |
---|
DOWNWARDS
The default search method
|
UPWARDS
New search method introduced in 2.0, starting form a
QuadTree object it searches for objects inside it
and then upwards in the hierarchy. |
Modifier and Type | Method and Description |
---|---|
static QuadTreeSearchDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QuadTreeSearchDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuadTreeSearchDirection UPWARDS
QuadTree
object it searches for objects inside it
and then upwards in the hierarchy.public static final QuadTreeSearchDirection DOWNWARDS
public static QuadTreeSearchDirection[] values()
for (QuadTreeSearchDirection c : QuadTreeSearchDirection.values()) System.out.println(c);
public static QuadTreeSearchDirection 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 null