Package de.xima.fc.common.geometry
Enum ECartesianAxis3D
- java.lang.Object
-
- java.lang.Enum<ECartesianAxis3D>
-
- de.xima.fc.common.geometry.ECartesianAxis3D
-
- All Implemented Interfaces:
Serializable
,Comparable<ECartesianAxis3D>
public enum ECartesianAxis3D extends Enum<ECartesianAxis3D>
An enumeration representing the two dimensions in a 3D cartesian coordinate system.- Since:
- 8.4.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ECartesianAxis3D
valueOf(String name)
Returns the enum constant of this type with the specified name.static ECartesianAxis3D[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X
public static final ECartesianAxis3D X
The X-axis, representing the horizontal dimension.
-
Y
public static final ECartesianAxis3D Y
The Y-axis, representing the vertical dimension.
-
Z
public static final ECartesianAxis3D Z
The Z-axis, representing the depth dimension.
-
-
Method Detail
-
values
public static ECartesianAxis3D[] 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 (ECartesianAxis3D c : ECartesianAxis3D.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ECartesianAxis3D 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
-
-