public enum MassDistribution extends java.lang.Enum<MassDistribution>
Enum Constant and Description |
---|
AREA
Mass is distributed uniformly across the area (or faces) of the object
|
DEFAULT
Mass is distributed uniformly according to a default appropriate to the
object
|
LENGTH
Mass is distributed uniformly across the length (or edges) of the object
|
POINT
Mass is distributed uniformly across the points of the object
|
VOLUME
Mass is distributed uniformly across the volume of the object
|
Modifier and Type | Method and Description |
---|---|
static MassDistribution |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MassDistribution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MassDistribution VOLUME
public static final MassDistribution AREA
public static final MassDistribution LENGTH
public static final MassDistribution POINT
public static final MassDistribution DEFAULT
public static MassDistribution[] values()
for (MassDistribution c : MassDistribution.values()) System.out.println(c);
public static MassDistribution 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