Enum LinCompf.ComponentType
- java.lang.Object
-
- java.lang.Enum<LinCompf.ComponentType>
-
- WildMagic.LibFoundation.Mathematics.LinCompf.ComponentType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LinCompf.ComponentType>
- Enclosing class:
- LinCompf
public static enum LinCompf.ComponentType extends java.lang.Enum<LinCompf.ComponentType>
component type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CT_EMPTY
CT_LINE
CT_POINT
CT_RAY
CT_SEGMENT
-
Field Summary
Fields Modifier and Type Field Description private int
m_iValue
-
Constructor Summary
Constructors Modifier Constructor Description private
ComponentType(int iValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
Value()
static LinCompf.ComponentType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LinCompf.ComponentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CT_EMPTY
public static final LinCompf.ComponentType CT_EMPTY
-
CT_POINT
public static final LinCompf.ComponentType CT_POINT
-
CT_SEGMENT
public static final LinCompf.ComponentType CT_SEGMENT
-
CT_RAY
public static final LinCompf.ComponentType CT_RAY
-
CT_LINE
public static final LinCompf.ComponentType CT_LINE
-
-
Method Detail
-
values
public static LinCompf.ComponentType[] 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 (LinCompf.ComponentType c : LinCompf.ComponentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LinCompf.ComponentType 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()
-
-