pub trait SNORanges2D<'a, T: Idx, S: Idx>: Sized {
    fn make_consistent(self) -> Self;
fn is_empty(&self) -> bool;
fn contains(&self, time: T, range: &Range<S>) -> bool;
fn union(&self, other: &Self) -> Self;
fn intersection(&self, other: &Self) -> Self;
fn difference(&self, other: &Self) -> Self; }
Expand description

Generic operations on a set of Sorted and Non-Overlapping ranges. SNO = Sorted Non-Overlapping

Required methods

Checks whether a (time, position) tuple lies into the NestedRanges2D<T, S>

Arguments
  • time - The time at which the coordinate has been observed
  • range - The spatial pixel of the nested range

Implementors