public static enum MayaAsciiReader.LengthUnit extends java.lang.Enum<MayaAsciiReader.LengthUnit>
Enum Constant and Description |
---|
CENTIMETER |
FOOT |
INCH |
KILOMETER |
METER |
MILE |
MILLIMETER |
YARD |
Modifier and Type | Method and Description |
---|---|
static MayaAsciiReader.LengthUnit |
detect(java.lang.String str) |
double |
getSI() |
static MayaAsciiReader.LengthUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MayaAsciiReader.LengthUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MayaAsciiReader.LengthUnit MILLIMETER
public static final MayaAsciiReader.LengthUnit CENTIMETER
public static final MayaAsciiReader.LengthUnit METER
public static final MayaAsciiReader.LengthUnit KILOMETER
public static final MayaAsciiReader.LengthUnit INCH
public static final MayaAsciiReader.LengthUnit FOOT
public static final MayaAsciiReader.LengthUnit YARD
public static final MayaAsciiReader.LengthUnit MILE
public static MayaAsciiReader.LengthUnit[] values()
for (MayaAsciiReader.LengthUnit c : MayaAsciiReader.LengthUnit.values()) System.out.println(c);
public static MayaAsciiReader.LengthUnit valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic double getSI()
public static MayaAsciiReader.LengthUnit detect(java.lang.String str)