Enum BSPTreeVisitor.Order

java.lang.Object
java.lang.Enum<BSPTreeVisitor.Order>
org.apache.commons.geometry.core.partitioning.bsp.BSPTreeVisitor.Order
All Implemented Interfaces:
Serializable, Comparable<BSPTreeVisitor.Order>, java.lang.constant.Constable
Enclosing interface:
BSPTreeVisitor<P extends Point<P>,N extends BSPTree.Node<P,N>>

public static enum BSPTreeVisitor.Order extends Enum<BSPTreeVisitor.Order>
Enum used to specify the order in which visitors should visit the nodes in the tree.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Indicates that the visitor should first visit the minus sub-tree, then the current node, and then the plus sub-tree.
    Indicates that the visitor should first visit the minus sub-tree, then the plus sub-tree, and then the current node.
    Indicates that the visitor should first visit the current node, then the minus sub-tree, and then the plus sub-tree.
    Indicates that the visitor should first visit the current node, then the plus sub-tree, and then the minus sub-tree.
    Indicates that the visitor should not visit any of the nodes in this subtree.
    Indicates that the visitor should first visit the plus sub-tree, then the minus sub-tree and then the current node.
    Indicates that the visitor should first visit the plus sub-tree, then the current node, and then the minus sub-tree.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PLUS_MINUS_NODE

      public static final BSPTreeVisitor.Order PLUS_MINUS_NODE
      Indicates that the visitor should first visit the plus sub-tree, then the minus sub-tree and then the current node.
    • PLUS_NODE_MINUS

      public static final BSPTreeVisitor.Order PLUS_NODE_MINUS
      Indicates that the visitor should first visit the plus sub-tree, then the current node, and then the minus sub-tree.
    • MINUS_PLUS_NODE

      public static final BSPTreeVisitor.Order MINUS_PLUS_NODE
      Indicates that the visitor should first visit the minus sub-tree, then the plus sub-tree, and then the current node.
    • MINUS_NODE_PLUS

      public static final BSPTreeVisitor.Order MINUS_NODE_PLUS
      Indicates that the visitor should first visit the minus sub-tree, then the current node, and then the plus sub-tree.
    • NODE_PLUS_MINUS

      public static final BSPTreeVisitor.Order NODE_PLUS_MINUS
      Indicates that the visitor should first visit the current node, then the plus sub-tree, and then the minus sub-tree.
    • NODE_MINUS_PLUS

      public static final BSPTreeVisitor.Order NODE_MINUS_PLUS
      Indicates that the visitor should first visit the current node, then the minus sub-tree, and then the plus sub-tree.
    • NONE

      public static final BSPTreeVisitor.Order NONE
      Indicates that the visitor should not visit any of the nodes in this subtree.
  • Constructor Details

    • Order

      private Order()
  • Method Details

    • values

      public static BSPTreeVisitor.Order[] 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

      public static BSPTreeVisitor.Order valueOf(String name)
      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 name
      NullPointerException - if the argument is null