Class ScanningParametersUtils
java.lang.Object
uk.ac.diamond.daq.mapping.api.document.scanpath.ScanningParametersUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ScannableTrackDocument> static ScannableTrackDocumentgetAxis(ScanpathDocument scan, ScannableTrackDocument.Axis axis) Get theScannableTrackDocumentrelating to the requestedScannableTrackDocument.Axis,static booleanhasAxis(ScanpathDocument scan, ScannableTrackDocument.Axis axis) static voidupdateAxes(ScanpathDocument scan, List<ScannableTrackDocument> updatedAxes) Replaces in place the givenupdatedAxesin the givendocumentstatic voidupdateAxis(ScanpathDocument scan, ScannableTrackDocument axis) static voidupdateTrajectoryShape(ScanpathDocument scan, Trajectory trajectory, TrajectoryShape shape)
-
Method Details
-
hasAxis
-
getAxis
public static ScannableTrackDocument getAxis(ScanpathDocument scan, ScannableTrackDocument.Axis axis) Get theScannableTrackDocumentrelating to the requestedScannableTrackDocument.Axis,- Throws:
IllegalArgumentException- if axis not found. If unsure, tryhasAxis(ScanpathDocument, Axis).
-
updateAxes
Replaces in place the givenupdatedAxesin the givendocument -
updateAxis
-
updateTrajectoryShape
public static void updateTrajectoryShape(ScanpathDocument scan, Trajectory trajectory, TrajectoryShape shape) -
getAxesDocuments
-