Package org.jzy3d.io.obj
Enum OBJFile.PrimType
- java.lang.Object
-
- java.lang.Enum<OBJFile.PrimType>
-
- org.jzy3d.io.obj.OBJFile.PrimType
-
- All Implemented Interfaces:
Serializable
,Comparable<OBJFile.PrimType>
- Enclosing class:
- OBJFile
public static enum OBJFile.PrimType extends Enum<OBJFile.PrimType>
Enumeration of primitive types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description eptAll
eptEdges
eptNone
eptPoints
eptTriangles
eptTrianglesWithAdjacency
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OBJFile.PrimType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OBJFile.PrimType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
eptNone
public static final OBJFile.PrimType eptNone
-
eptPoints
public static final OBJFile.PrimType eptPoints
-
eptEdges
public static final OBJFile.PrimType eptEdges
-
eptTriangles
public static final OBJFile.PrimType eptTriangles
-
eptTrianglesWithAdjacency
public static final OBJFile.PrimType eptTrianglesWithAdjacency
-
eptAll
public static final OBJFile.PrimType eptAll
-
-
Method Detail
-
values
public static OBJFile.PrimType[] 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 (OBJFile.PrimType c : OBJFile.PrimType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OBJFile.PrimType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-