Package com.io7m.calino.api
Enum Class CLNCubeFace
- All Implemented Interfaces:
Serializable
,Comparable<CLNCubeFace>
,Constable
The names of each of the faces of an axis-aligned cube.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe face pointing towards negative infinity on the X axis.The face pointing towards positive infinity on the X axis.The face pointing towards negative infinity on the Y axis.The face pointing towards positive infinity on the Y axis.The face pointing towards negative infinity on the Z axis.The face pointing towards positive infinity on the Z axis. -
Method Summary
Modifier and TypeMethodDescriptionstatic List<CLNCubeFace>
static CLNCubeFace
Returns the enum constant of this class with the specified name.static CLNCubeFace[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
X_POSITIVE
The face pointing towards positive infinity on the X axis. -
X_NEGATIVE
The face pointing towards negative infinity on the X axis. -
Y_POSITIVE
The face pointing towards positive infinity on the Y axis. -
Y_NEGATIVE
The face pointing towards negative infinity on the Y axis. -
Z_POSITIVE
The face pointing towards positive infinity on the Z axis. -
Z_NEGATIVE
The face pointing towards negative infinity on the Z axis.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
facesInOrder
- Returns:
- The cube faces in specification order
-
shortName
- Returns:
- The short name of the cube face
-