Enum BSPTree.FindNodeCutRule
java.lang.Object
java.lang.Enum<BSPTree.FindNodeCutRule>
org.apache.commons.geometry.core.partitioning.bsp.BSPTree.FindNodeCutRule
- All Implemented Interfaces:
Serializable
,Comparable<BSPTree.FindNodeCutRule>
Enum specifying possible behaviors when a point used to locate a node
falls directly on the cut of an internal node.
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BSPTree.FindNodeCutRule
Returns the enum constant of this type with the specified name.static BSPTree.FindNodeCutRule[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MINUS
Choose the minus child of the internal node and continue searching. This behavior will result in a leaf node always being returned by the node search. -
PLUS
Choose the plus child of the internal node and continue searching. This behavior will result in a leaf node always being returned by the node search. -
NODE
Choose the internal node and stop searching. This behavior may result in non-leaf nodes being returned by the node search.
-
-
Constructor Details
-
FindNodeCutRule
private FindNodeCutRule()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-