Class OrbitInterpolationToolImpl
- java.lang.Object
-
- cern.accsoft.steering.jmad.tools.interpolate.OrbitInterpolationToolImpl
-
- All Implemented Interfaces:
OrbitInterpolationTool
public class OrbitInterpolationToolImpl extends java.lang.Object implements OrbitInterpolationTool
-
-
Constructor Summary
Constructors Constructor Description OrbitInterpolationToolImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrbitInterpolationResultinterpolate(OrbitInterpolationRequest request)Perform an interpolation according to the givenOrbitInterpolationRequest.voidupdate(UpdateRequest request)Update the orbit interpolation tool with the givenUpdateRequest.
-
-
-
Method Detail
-
interpolate
public OrbitInterpolationResult interpolate(OrbitInterpolationRequest request) throws JMadException
Description copied from interface:OrbitInterpolationToolPerform an interpolation according to the givenOrbitInterpolationRequest.OrbitInterpolationTool.update(UpdateRequest)MUST be called at least once before the first usage.- Specified by:
interpolatein interfaceOrbitInterpolationTool- Parameters:
request- the request containing the information about what to interpolate- Returns:
- the result of the interpolation
- Throws:
JMadException- in case something goes wrong during the interpolation
-
update
public void update(UpdateRequest request) throws JMadException
Description copied from interface:OrbitInterpolationToolUpdate the orbit interpolation tool with the givenUpdateRequest. This method MUST be called at least once with a request that initializes the structure (UpdateRequest.updateStructure(cern.accsoft.steering.jmad.domain.types.enums.JMadPlane)returns true for all planes required) before the interpolation is used.- Specified by:
updatein interfaceOrbitInterpolationTool- Parameters:
request- theUpdateRequestcontaining the data to be used for the update.- Throws:
JMadException- in case the update fails
-
-