Add finish(SpacecraftState) method to EventHandler
As a user when computing passes with an event detector I would like to know when the propagation is finished so that I can determine if it ends in the middle of the pass.
Adding a finish(SpacecraftState s)
method to the EventDetector
and EventHandler
interfaces would work. It would be very similar to the OrekitStepHandler.finish()
.
With existing interfaces the EventHandler
could also implement OrekitStepHandler
to get called at the end of propagation. User would have to add it to the propagator two different ways. Perhaps this is sufficient.