org.xith3d.scenegraph
Enum BoundsTypeHint

java.lang.Object
  extended by java.lang.Enum<BoundsTypeHint>
      extended by org.xith3d.scenegraph.BoundsTypeHint
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BoundsTypeHint>

public enum BoundsTypeHint
extends java.lang.Enum<BoundsTypeHint>

Any Node type has a specific BoundsTypeHint. By default this is SPHERE. The auto-generated Bounds can respect this type (but don't have to).


Enum Constant Summary
AABB
          An Axis Aligned Bounding Box including all vertices.
NONE
          No bounds.
POLYTOPE
          A mesh-like bounding body (similar to the realy geometry).
SPHERE
          Tight spherical bounds including all vertices.
 
Method Summary
static BoundsTypeHint valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BoundsTypeHint[] 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

NONE

public static final BoundsTypeHint NONE
No bounds.


SPHERE

public static final BoundsTypeHint SPHERE
Tight spherical bounds including all vertices.


AABB

public static final BoundsTypeHint AABB
An Axis Aligned Bounding Box including all vertices.


POLYTOPE

public static final BoundsTypeHint POLYTOPE
A mesh-like bounding body (similar to the realy geometry).

Method Detail

values

public static BoundsTypeHint[] 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 (BoundsTypeHint c : BoundsTypeHint.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BoundsTypeHint 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