Enum BSPTreeVisitor.Order

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BSPTreeVisitor.Order>
    Enclosing interface:
    BSPTreeVisitor<S extends Space>

    public static enum BSPTreeVisitor.Order
    extends java.lang.Enum<BSPTreeVisitor.Order>
    Enumerate for visit order with respect to plus sub-tree, minus sub-tree and cut sub-hyperplane.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      MINUS_PLUS_SUB
      Indicator for visit order minus sub-tree, then plus sub-tree, and last cut sub-hyperplane.
      MINUS_SUB_PLUS
      Indicator for visit order minus sub-tree, then cut sub-hyperplane, and last plus sub-tree.
      PLUS_MINUS_SUB
      Indicator for visit order plus sub-tree, then minus sub-tree, and last cut sub-hyperplane.
      PLUS_SUB_MINUS
      Indicator for visit order plus sub-tree, then cut sub-hyperplane, and last minus sub-tree.
      SUB_MINUS_PLUS
      Indicator for visit order cut sub-hyperplane, then minus sub-tree, and last plus sub-tree.
      SUB_PLUS_MINUS
      Indicator for visit order cut sub-hyperplane, then plus sub-tree, and last minus sub-tree.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Order()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static BSPTreeVisitor.Order valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static BSPTreeVisitor.Order[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

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

      • PLUS_MINUS_SUB

        public static final BSPTreeVisitor.Order PLUS_MINUS_SUB
        Indicator for visit order plus sub-tree, then minus sub-tree, and last cut sub-hyperplane.
      • PLUS_SUB_MINUS

        public static final BSPTreeVisitor.Order PLUS_SUB_MINUS
        Indicator for visit order plus sub-tree, then cut sub-hyperplane, and last minus sub-tree.
      • MINUS_PLUS_SUB

        public static final BSPTreeVisitor.Order MINUS_PLUS_SUB
        Indicator for visit order minus sub-tree, then plus sub-tree, and last cut sub-hyperplane.
      • MINUS_SUB_PLUS

        public static final BSPTreeVisitor.Order MINUS_SUB_PLUS
        Indicator for visit order minus sub-tree, then cut sub-hyperplane, and last plus sub-tree.
      • SUB_PLUS_MINUS

        public static final BSPTreeVisitor.Order SUB_PLUS_MINUS
        Indicator for visit order cut sub-hyperplane, then plus sub-tree, and last minus sub-tree.
      • SUB_MINUS_PLUS

        public static final BSPTreeVisitor.Order SUB_MINUS_PLUS
        Indicator for visit order cut sub-hyperplane, then minus sub-tree, and last plus sub-tree.
    • Constructor Detail

      • Order

        private Order()
    • Method Detail

      • values

        public static BSPTreeVisitor.Order[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BSPTreeVisitor.Order c : BSPTreeVisitor.Order.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BSPTreeVisitor.Order valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null