public static enum DistanceGrid.DistanceMethod extends java.lang.Enum<DistanceGrid.DistanceMethod>
Enum Constant and Description |
---|
BRIDSON
Use the sweep method devised by Robert Bridson (described in the class
API header).
|
BVH
Use distance and inclusion queries based on bounding volume
hierarchies.
|
Modifier and Type | Method and Description |
---|---|
static DistanceGrid.DistanceMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistanceGrid.DistanceMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceGrid.DistanceMethod BVH
public static final DistanceGrid.DistanceMethod BRIDSON
public static DistanceGrid.DistanceMethod[] values()
for (DistanceGrid.DistanceMethod c : DistanceGrid.DistanceMethod.values()) System.out.println(c);
public static DistanceGrid.DistanceMethod 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