Interface OrbitInterpolationTool
-
- All Known Implementing Classes:
OrbitInterpolationToolImpl
public interface OrbitInterpolationToolThis interface provides the access to the interpolation of orbits.
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
update
void update(UpdateRequest request) throws JMadException
Update 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.- Parameters:
request- theUpdateRequestcontaining the data to be used for the update.- Throws:
JMadException- in case the update fails
-
interpolate
OrbitInterpolationResult interpolate(OrbitInterpolationRequest request) throws JMadException
Perform an interpolation according to the givenOrbitInterpolationRequest.update(UpdateRequest)MUST be called at least once before the first usage.- 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
-
-