Package com.openinventor.inventor.nodes
Enum SoShapeHints.VertexOrderings
- java.lang.Object
-
- java.lang.Enum<SoShapeHints.VertexOrderings>
-
- com.openinventor.inventor.nodes.SoShapeHints.VertexOrderings
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoShapeHints.VertexOrderings>
- Enclosing class:
- SoShapeHints
public static enum SoShapeHints.VertexOrderings extends java.lang.Enum<SoShapeHints.VertexOrderings> implements IntegerValuedEnum
Hints about ordering of face vertices: if ordering of all vertices of all faces is known to be consistent when viewed from "outside" shape or not.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOCKWISE
Face vertices are ordered clockwise (from the outside)COUNTERCLOCKWISE
Face vertices are ordered counterclockwise (from the outside)UNKNOWN_ORDERING
Ordering of vertices is unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoShapeHints.VertexOrderings
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoShapeHints.VertexOrderings
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoShapeHints.VertexOrderings[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_ORDERING
public static final SoShapeHints.VertexOrderings UNKNOWN_ORDERING
Ordering of vertices is unknown.
-
CLOCKWISE
public static final SoShapeHints.VertexOrderings CLOCKWISE
Face vertices are ordered clockwise (from the outside)
-
COUNTERCLOCKWISE
public static final SoShapeHints.VertexOrderings COUNTERCLOCKWISE
Face vertices are ordered counterclockwise (from the outside)
-
-
Method Detail
-
values
public static SoShapeHints.VertexOrderings[] 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 (SoShapeHints.VertexOrderings c : SoShapeHints.VertexOrderings.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoShapeHints.VertexOrderings 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 namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static SoShapeHints.VertexOrderings valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-