public static enum PointMeshForce.ForceType extends java.lang.Enum<PointMeshForce.ForceType>
Enum Constant and Description |
---|
LINEAR
Force is a linear function of mesh distance.
|
QUADRATIC
Force is a quadratic function of mesh distance.
|
Modifier and Type | Method and Description |
---|---|
static PointMeshForce.ForceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PointMeshForce.ForceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PointMeshForce.ForceType LINEAR
public static final PointMeshForce.ForceType QUADRATIC
public static PointMeshForce.ForceType[] values()
for (PointMeshForce.ForceType c : PointMeshForce.ForceType.values()) System.out.println(c);
public static PointMeshForce.ForceType 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