public class ParticleCurve extends BasicGraphData
object.
The curve is a BasicGraphData
object that is an RMS envelope trajectory
produced by an online model simulation.BasicGraphData.CompareErr, BasicGraphData.CompareX, BasicGraphData.CompareY, BasicGraphData.XYpoint
color, drawLinesOn, drawPointsOn, errYmax, graphDataContainerV, immediateContainerUpdate, lineStroke, lineThick, lockUpObj, markShape, markShapeFilled, name, nInterpPoints, pointSize, propertyMap, xMax, xMin, xyInterpPointV, xyPointV, yMax, yMin
Constructor and Description |
---|
ParticleCurve(PLANE plane)
Creates an empty data object representing the RMS beam envelope for the
given phase plane.
|
ParticleCurve(PLANE plane,
Trajectory<ParticleProbeState> trjPrt)
Creates the basic data object representing a curve on a graph.
|
Modifier and Type | Method and Description |
---|---|
void |
loadCurve(Trajectory<ParticleProbeState> trjSim)
Defines the graphics curve according to the RMS envelope
trajectory data in the given
Trajectory object. |
addPoint, addPoint, addPoint, addPoint, calculateRepresentation, getCapacity, getDrawLinesOn, getDrawPointsOn, getErr, getGraphColor, getGraphDataContainer, getGraphName, getGraphPointShape, getGraphPointSize, getGraphProperty, getGraphPropertyKeys, getGraphPropertySize, getImmediateContainerUpdate, getInterpX, getInterpY, getLineThick, getLockObject, getMaxErr, getMaxX, getMaxY, getMinX, getMinY, getNumberOfGraphDataContainers, getNumbOfInterpPoints, getNumbOfPoints, getStroke, getValueDerivativeY, getValueY, getX, getY, init, isGraphPointShapeFilled, main, registerInContainer, removeAllPoints, removeContainer, removePoint, setDrawLinesOn, setDrawPointsOn, setGraphColor, setGraphName, setGraphPointFillingShape, setGraphPointShape, setGraphPointSize, setGraphProperty, setImmediateContainerUpdate, setLineDashPattern, setLineStroke, setLineThick, updateContainer, updateData, updatePoint, updatePoint, updateValues, updateValues, updateValuesY, updateValuesY, updateValueY
public ParticleCurve(PLANE plane)
loadCurve(Trajectory)
.plane
- phase plane of the rms envelope curvepublic ParticleCurve(PLANE plane, Trajectory<ParticleProbeState> trjPrt) throws java.lang.IllegalArgumentException
plane
- phase plane of the rms envelope curvetrjPrt
- object containing the data for the curvejava.lang.IllegalArgumentException
- the argument trjEnv is not a particle trajectory objectpublic void loadCurve(Trajectory<ParticleProbeState> trjSim) throws java.lang.IllegalArgumentException
Trajectory
object.trjSim
- online model simulation trajectory containing curve datajava.lang.IllegalArgumentException
- the argument is not a particle trajectory object