Enum Constant and Description |
---|
HOR
Enumeration for the horizontal plane
|
LNG
Enumeration representing the longitudinal plane
|
VER
Enumeration representing the vertical plane
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor()
Return the color associated with this phase plane.
|
double |
getParticlePos(ParticleProbeState state)
Extracts the particle position of the phase plane represented by this enumeration constant
from the given particle probe state.
|
double |
getRmsEnvelope(EnvelopeProbeState state)
Extracts the RMS envelope size of the phase plane represented by this enumeration constant
from the given envelope probe state.
|
static PLANE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PLANE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PLANE HOR
public static final PLANE VER
public static final PLANE LNG
public static PLANE[] values()
for (PLANE c : PLANE.values()) System.out.println(c);
public static PLANE 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 java.awt.Color getColor()
public double getParticlePos(ParticleProbeState state)
state
- ParticleProbeState
object containing particle state informationpublic double getRmsEnvelope(EnvelopeProbeState state)
state
- EnvelopeProbeState
object containing RMS envelope information