public static enum SoSimplifier.ShapeTypes extends java.lang.Enum<SoSimplifier.ShapeTypes> implements IntegerValuedEnum
Enum Constant and Description |
---|
TRIANGLE_FAN
TRIANGLE_FAN.
|
TRIANGLE_STRIP
TRIANGLE_STRIP.
|
TRIANGLES
TRIANGLES.
|
Modifier and Type | Method and Description |
---|---|
static SoSimplifier.ShapeTypes |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoSimplifier.ShapeTypes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoSimplifier.ShapeTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoSimplifier.ShapeTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoSimplifier.ShapeTypes TRIANGLES
public static final SoSimplifier.ShapeTypes TRIANGLE_STRIP
public static final SoSimplifier.ShapeTypes TRIANGLE_FAN
public static SoSimplifier.ShapeTypes[] values()
for (SoSimplifier.ShapeTypes c : SoSimplifier.ShapeTypes.values()) System.out.println(c);
public static SoSimplifier.ShapeTypes 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 SoSimplifier.ShapeTypes fromValue(int val)
valueOf(int)
instead.public static SoSimplifier.ShapeTypes valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on August 20, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com