us.ihmc.utilities.math.geometry
Enum Box3d.FaceName
java.lang.Object
java.lang.Enum<Box3d.FaceName>
us.ihmc.utilities.math.geometry.Box3d.FaceName
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Box3d.FaceName>
- Enclosing class:
- Box3d
public static enum Box3d.FaceName
- extends java.lang.Enum<Box3d.FaceName>
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 |
PLUSX
public static final Box3d.FaceName PLUSX
PLUSY
public static final Box3d.FaceName PLUSY
PLUSZ
public static final Box3d.FaceName PLUSZ
MINUSX
public static final Box3d.FaceName MINUSX
MINUSY
public static final Box3d.FaceName MINUSY
MINUSZ
public static final Box3d.FaceName MINUSZ
values
public static Box3d.FaceName[] 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 (Box3d.FaceName c : Box3d.FaceName.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Box3d.FaceName 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
sign
public int sign()
getDirection
public Direction getDirection()
get
public static Box3d.FaceName get(boolean positive,
Direction direction)