public static enum SoCSGShape.CsgOperationTypes extends java.lang.Enum<SoCSGShape.CsgOperationTypes> implements IntegerValuedEnum
Enum Constant and Description |
---|
ADD
leftOperand union rightOperand.
|
ALL
Keep left and right primitives (concatenate all resulting faces).
|
INTERSECTION
LeftOperand intersect rightOperand.
|
LEFT_ONLY
Keep only leftOperand.
|
NOTHING
Keep nothing (result will be empty).
|
RIGHT_ONLY
Keep only rightOperand.
|
SUB
LeftOperand - rightOperand.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoCSGShape.CsgOperationTypes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoCSGShape.CsgOperationTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoCSGShape.CsgOperationTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoCSGShape.CsgOperationTypes ADD
public static final SoCSGShape.CsgOperationTypes SUB
public static final SoCSGShape.CsgOperationTypes INTERSECTION
public static final SoCSGShape.CsgOperationTypes LEFT_ONLY
public static final SoCSGShape.CsgOperationTypes RIGHT_ONLY
public static final SoCSGShape.CsgOperationTypes NOTHING
public static final SoCSGShape.CsgOperationTypes ALL
public static SoCSGShape.CsgOperationTypes[] values()
for (SoCSGShape.CsgOperationTypes c : SoCSGShape.CsgOperationTypes.values()) System.out.println(c);
public static SoCSGShape.CsgOperationTypes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SoCSGShape.CsgOperationTypes valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com