Package com.aspose.threed
Enum PatchDirectionType
- java.lang.Object
-
- java.lang.Enum<PatchDirectionType>
-
- com.aspose.threed.PatchDirectionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PatchDirectionType>
public enum PatchDirectionType extends java.lang.Enum<PatchDirectionType>
Patch direction's types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASIS_SPLINE
BEZIER
CARDINAL_SPLINE
cardinal patch.LINEAR
QUADRATIC_BEZIER
The quadratic bezier patch.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PatchDirectionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PatchDirectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEZIER
public static final PatchDirectionType BEZIER
-
QUADRATIC_BEZIER
public static final PatchDirectionType QUADRATIC_BEZIER
The quadratic bezier patch. The patch direction is a quadratic curve.
-
CARDINAL_SPLINE
public static final PatchDirectionType CARDINAL_SPLINE
cardinal patch. The patch direction is a cardinal spline.
-
BASIS_SPLINE
public static final PatchDirectionType BASIS_SPLINE
-
LINEAR
public static final PatchDirectionType LINEAR
-
-
Method Detail
-
values
public static PatchDirectionType[] 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 (PatchDirectionType c : PatchDirectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PatchDirectionType 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
-
-