Enum Constant and Description |
---|
CLOSED
The
NurbsCurve is a closed curve has its last control point equals to its first one. |
OPEN
The
NurbsCurve is an open curve. |
PERIODIC
The
NurbsCurve is a periodic curve. |
Modifier and Type | Method and Description |
---|---|
static NurbsType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NurbsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NurbsType OPEN
NurbsCurve
is an open curve.public static final NurbsType CLOSED
NurbsCurve
is a closed curve has its last control point equals to its first one.public static final NurbsType PERIODIC
NurbsCurve
is a periodic curve.public static NurbsType[] values()
for (NurbsType c : NurbsType.values()) System.out.println(c);
public static NurbsType 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 null