org.ode4j.ode
Enum DSapSpace.AXES

java.lang.Object
  extended by java.lang.Enum<DSapSpace.AXES>
      extended by org.ode4j.ode.DSapSpace.AXES
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DSapSpace.AXES>
Enclosing interface:
DSapSpace

public static enum DSapSpace.AXES
extends java.lang.Enum<DSapSpace.AXES>

Order XZY or ZXY usually works best, if your Y is up.


Enum Constant Summary
XYZ
          0,1,2 -> 100100 -> 36
XZY
          0,2,1 -> 11000 -> 24
YXZ
          1,0,2 -> 100001 -> 33
YZX
          1,2,0 -> 1001 -> 9
ZXY
          2,0,1 -> 10010 -> 18
ZYX
          2,1,0 -> 110 -> 6
 
Method Summary
 int getCode()
           
static DSapSpace.AXES valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DSapSpace.AXES[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

XYZ

public static final DSapSpace.AXES XYZ
0,1,2 -> 100100 -> 36


XZY

public static final DSapSpace.AXES XZY
0,2,1 -> 11000 -> 24


YXZ

public static final DSapSpace.AXES YXZ
1,0,2 -> 100001 -> 33


YZX

public static final DSapSpace.AXES YZX
1,2,0 -> 1001 -> 9


ZXY

public static final DSapSpace.AXES ZXY
2,0,1 -> 10010 -> 18


ZYX

public static final DSapSpace.AXES ZYX
2,1,0 -> 110 -> 6

Method Detail

values

public static DSapSpace.AXES[] 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 (DSapSpace.AXES c : DSapSpace.AXES.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DSapSpace.AXES 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 name
java.lang.NullPointerException - if the argument is null

getCode

public int getCode()
Returns:
axis code