Package WildMagic.LibGraphics.SceneGraph
Enum Geometry.GeometryType
- java.lang.Object
-
- java.lang.Enum<Geometry.GeometryType>
-
- WildMagic.LibGraphics.SceneGraph.Geometry.GeometryType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Geometry.GeometryType>
- Enclosing class:
- Geometry
public static enum Geometry.GeometryType extends java.lang.Enum<Geometry.GeometryType>
Type of geometry:
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GT_MAX_QUANTITY
GT_POLYLINE_CLOSED
GT_POLYLINE_OPEN
GT_POLYLINE_SEGMENTS
GT_POLYPOINT
GT_TRIFAN
GT_TRIMESH
GT_TRISTRIP
-
Field Summary
Fields Modifier and Type Field Description private static int
m_iInitValue
private int
m_iValue
-
Constructor Summary
Constructors Modifier Constructor Description private
GeometryType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
Init()
int
Value()
static Geometry.GeometryType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Geometry.GeometryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GT_POLYPOINT
public static final Geometry.GeometryType GT_POLYPOINT
-
GT_POLYLINE_SEGMENTS
public static final Geometry.GeometryType GT_POLYLINE_SEGMENTS
-
GT_POLYLINE_OPEN
public static final Geometry.GeometryType GT_POLYLINE_OPEN
-
GT_POLYLINE_CLOSED
public static final Geometry.GeometryType GT_POLYLINE_CLOSED
-
GT_TRIMESH
public static final Geometry.GeometryType GT_TRIMESH
-
GT_TRISTRIP
public static final Geometry.GeometryType GT_TRISTRIP
-
GT_TRIFAN
public static final Geometry.GeometryType GT_TRIFAN
-
GT_MAX_QUANTITY
public static final Geometry.GeometryType GT_MAX_QUANTITY
-
-
Method Detail
-
values
public static Geometry.GeometryType[] 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 (Geometry.GeometryType c : Geometry.GeometryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Geometry.GeometryType 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
-
Value
public int Value()
-
Init
private int Init()
-
-