public static enum SoBaseExtrusion.ExtrusionModes extends java.lang.Enum<SoBaseExtrusion.ExtrusionModes> implements IntegerValuedEnum
Enum Constant and Description |
---|
BASIC
Old extrusion algorithm.
|
SMOOTH
Default extrusion algorithm.
|
SMOOTH_WITHOUT_SELF_INTERSECTIONS
Smooth but avoids self intersections caused by large curvature radius of the spine.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoBaseExtrusion.ExtrusionModes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoBaseExtrusion.ExtrusionModes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoBaseExtrusion.ExtrusionModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoBaseExtrusion.ExtrusionModes SMOOTH
This algorithm determines the piecewise extrusion directions as a vector between consecutive spine points. This means that zero or really small distances between consecutive points can produce odd extrusion directions and result in wrong geometry. It is up to the application to filter spine points to avoid these cases. The algorithm can produce odd geometries when spines points are overlapping or zigzags.
public static final SoBaseExtrusion.ExtrusionModes BASIC
public static final SoBaseExtrusion.ExtrusionModes SMOOTH_WITHOUT_SELF_INTERSECTIONS
SoBaseExtrusion
derived objects are used as operands for CSG operations.public static SoBaseExtrusion.ExtrusionModes[] values()
for (SoBaseExtrusion.ExtrusionModes c : SoBaseExtrusion.ExtrusionModes.values()) System.out.println(c);
public static SoBaseExtrusion.ExtrusionModes 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 SoBaseExtrusion.ExtrusionModes 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