com.aspose.threed

Interfaces

Classes

Enums

Exceptions

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. The MappingMode defined how VertexElement is mapped to the surface of geometry.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and 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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and 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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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 as POLYGON_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 is POLYGON.
      • 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.
      • 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.
    • 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 name
        java.lang.NullPointerException - if the argument is null