public static enum SoUnitsElement.Units extends java.lang.Enum<SoUnitsElement.Units> implements IntegerValuedEnum
Enum Constant and Description |
---|
ANGSTROMS |
CENTIMETERS |
FEET |
INCHES |
KILOMETERS |
METERS |
MICROMETERS |
MICRONS |
MILES |
MILLIMETERS |
NANOMETERS |
NAUTICAL_MILES |
POINTS |
YARDS |
Modifier and Type | Method and Description |
---|---|
static SoUnitsElement.Units |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoUnitsElement.Units |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoUnitsElement.Units |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoUnitsElement.Units[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoUnitsElement.Units METERS
public static final SoUnitsElement.Units CENTIMETERS
public static final SoUnitsElement.Units MILLIMETERS
public static final SoUnitsElement.Units MICROMETERS
public static final SoUnitsElement.Units MICRONS
public static final SoUnitsElement.Units NANOMETERS
public static final SoUnitsElement.Units ANGSTROMS
public static final SoUnitsElement.Units KILOMETERS
public static final SoUnitsElement.Units FEET
public static final SoUnitsElement.Units INCHES
public static final SoUnitsElement.Units POINTS
public static final SoUnitsElement.Units YARDS
public static final SoUnitsElement.Units MILES
public static final SoUnitsElement.Units NAUTICAL_MILES
public static SoUnitsElement.Units[] values()
for (SoUnitsElement.Units c : SoUnitsElement.Units.values()) System.out.println(c);
public static SoUnitsElement.Units 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 null@Deprecated public static SoUnitsElement.Units fromValue(int val)
valueOf(int)
instead.public static SoUnitsElement.Units valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com