Skip to main content

select_piecewise_segment

Function select_piecewise_segment 

Source
pub fn select_piecewise_segment(
    piecewise: &PiecewiseOrbit,
    epoch: CalendarEpoch,
) -> Result<&PiecewiseSegment, PiecewiseOrbitError>
Expand description

Return the segment covering epoch.

Interior boundaries resolve to the later segment; the exact end of the final segment resolves to that final segment.