Package com.aspose.threed
Enum MappingMode
- java.lang.Object
-
- java.lang.Enum<MappingMode>
-
- com.aspose.threed.MappingMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MappingMode>
public enum MappingMode extends java.lang.Enum<MappingMode>
Determines how the element is mapped to a surface. TheMappingMode
defined howVertexElement
is mapped to the surface of geometry.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_SAME
One data mapped to the whole surface.CONTROL_POINT
Each data is mapped to the control point of the geometry.EDGE
The data is mapped to the edge.POLYGON
The data is mapped to the polygon.POLYGON_VERTEX
The data is mapped to the polygon's vertex When a control point is shared by multiple polygons, and the data is mapped asPOLYGON_VERTEX
, the control point as different polygon vertex will have their own data
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MappingMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MappingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTROL_POINT
public static final MappingMode CONTROL_POINT
Each data is mapped to the control point of the geometry.
-
POLYGON_VERTEX
public static final MappingMode POLYGON_VERTEX
The data is mapped to the polygon's vertex When a control point is shared by multiple polygons, and the data is mapped asPOLYGON_VERTEX
, the control point as different polygon vertex will have their own data
-
POLYGON
public static final MappingMode POLYGON
The data is mapped to the polygon. Each polygon vertex shares the same data when mapping mode isPOLYGON
.
-
EDGE
public static final MappingMode EDGE
The data is mapped to the edge. Each edge end point shares the same data when mapping isEDGE
.
-
ALL_SAME
public static final MappingMode ALL_SAME
One data mapped to the whole surface. What ever data is interpreted as control point/polygon vertex/edge endpoints, the data is always the same as it defined byALL_SAME
.
-
-
Method Detail
-
values
public static MappingMode[] 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 (MappingMode c : MappingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MappingMode 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
-
-