- Slice slice = get_bounds_slice (positions, frac);
- Interval iv(positions[slice[SMALLER]], positions[slice[BIGGER]]);
-
- if (slice[SMALLER] == slice[BIGGER])
- {
- if (slice[SMALLER] == 0)
- iv[SMALLER] = - period + positions.top ();
- else
- iv[BIGGER] = period + positions[0];
- }
-
- iv += period * n;
-
- return iv;