MappingMode
Inheritance: java.lang.Object, java.lang.Enum
public enum MappingMode extends Enum<MappingMode>
Determines how the element is mapped to a surface. The MappingMode defined how VertexElement is mapped to the surface of geometry.
Fields
Field | 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 as POLYGON_VERTEX, the control point as different polygon vertex will have their own data |
Methods
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 by ALL_SAME.
CONTROL_POINT
public static final MappingMode CONTROL_POINT
Each data is mapped to the control point of the geometry.
EDGE
public static final MappingMode EDGE
The data is mapped to the edge. Each edge end point shares the same data when mapping is EDGE.
POLYGON
public static final MappingMode POLYGON
The data is mapped to the polygon. Each polygon vertex shares the same data when mapping mode is POLYGON.
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 as POLYGON_VERTEX, the control point as different polygon vertex will have their own data
valueOf(Class arg0, String arg1)
public static T <T>valueOf(Class<T> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
Returns: T
compareTo(E arg0)
public final int compareTo(E arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | E |
Returns: int
describeConstable()
public final Optional<Enum.EnumDesc<E>> describeConstable()
Returns:
java.util.Optional<java.lang.Enum.EnumDesc
equals(Object arg0)
public final boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDeclaringClass()
public final Class<E> getDeclaringClass()
Returns:
java.lang.Class
hashCode()
public final int hashCode()
Returns: int
name()
public final String name()
Returns: java.lang.String
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
ordinal()
public final int ordinal()
Returns: int
toString()
public String toString()
Returns: java.lang.String
valueOf(String name)
public static MappingMode valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: MappingMode
values()
public static MappingMode[] values()
Returns: com.aspose.threed.MappingMode[]
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |