Package WildMagic.LibGraphics.SceneGraph
Enum BoundingVolume.BVType
- java.lang.Object
-
- java.lang.Enum<BoundingVolume.BVType>
-
- WildMagic.LibGraphics.SceneGraph.BoundingVolume.BVType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BoundingVolume.BVType>
- Enclosing class:
- BoundingVolume
public static enum BoundingVolume.BVType extends java.lang.Enum<BoundingVolume.BVType>
run-time type information
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BV_BOX
BV_QUANTITY
BV_SPHERE
-
Constructor Summary
Constructors Modifier Constructor Description private
BVType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BoundingVolume.BVType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BoundingVolume.BVType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BV_SPHERE
public static final BoundingVolume.BVType BV_SPHERE
-
BV_BOX
public static final BoundingVolume.BVType BV_BOX
-
BV_QUANTITY
public static final BoundingVolume.BVType BV_QUANTITY
-
-
Method Detail
-
values
public static BoundingVolume.BVType[] 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 (BoundingVolume.BVType c : BoundingVolume.BVType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BoundingVolume.BVType 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 namejava.lang.NullPointerException
- if the argument is null
-
-