public enum CoefficientOfReflectivityType extends Enum<CoefficientOfReflectivityType> implements Enumeration
SimpleSolarRadiationForce.| Enum Constant and Description |
|---|
BLACK_BODY
This type of Cr is normally used in black body calculations.
|
RADIATION_PRESSURE
This type of Cr is usually used for radiation pressure calculations,
as it represents the modifier to the momentum imparted onto the body
by the light.
|
| Modifier and Type | Method and Description |
|---|---|
static CoefficientOfReflectivityType |
getDefault()
Get the enum constant that is considered to be the default.
|
static CoefficientOfReflectivityType |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static CoefficientOfReflectivityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoefficientOfReflectivityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoefficientOfReflectivityType BLACK_BODY
public static final CoefficientOfReflectivityType RADIATION_PRESSURE
public static CoefficientOfReflectivityType[] values()
for (CoefficientOfReflectivityType c : CoefficientOfReflectivityType.values()) System.out.println(c);
public static CoefficientOfReflectivityType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
getValue in interface Enumeration@Nonnull public static CoefficientOfReflectivityType getFromValue(int value)
value - a numeric value.@Nonnull public static CoefficientOfReflectivityType getDefault()