38 std::shared_ptr<const Surface>
surface =
nullptr;
66 template <
typename propagator_state_t,
typename stepper_t,
72 if (
sterile or navigator.targetReached(state.navigation)) {
77 step.
stepSize = state.stepping.stepSize;
78 step.
navDir = state.options.direction;
79 step.
position = stepper.position(state.stepping);
80 step.
momentum = stepper.momentum(state.stepping);
83 if (navigator.currentSurface(state.navigation) !=
nullptr) {
84 step.
surface = navigator.currentSurface(state.navigation)->getSharedPtr();
86 }
else if (navigator.currentVolume(state.navigation) !=
nullptr) {
88 step.
geoID = navigator.currentVolume(state.navigation)->geometryId();