org.osm2world.core.target.common
public static enum Primitive.Type extends Enum<Primitive.Type>
Enum Constant and Description |
---|
CONVEX_POLYGON |
TRIANGLE_FAN |
TRIANGLE_STRIP |
TRIANGLES |
Modifier and Type | Method and Description |
---|---|
static Primitive.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Primitive.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Primitive.Type CONVEX_POLYGON
public static final Primitive.Type TRIANGLES
public static final Primitive.Type TRIANGLE_STRIP
public static final Primitive.Type TRIANGLE_FAN
public static Primitive.Type[] values()
for (Primitive.Type c : Primitive.Type.values()) System.out.println(c);
public static Primitive.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null