public static IntervalTree <N, T> FromEnumerable(IEnumerable <Interval <N, T> > values) { var result = new IntervalTree <N, T> (); foreach (var item in values) { result.Add(item.Low, item.High, item.Data); } return(result); }
public BoundingRectTree() { _tree = new IntervalTree <float, IntervalTree <float, Seq <T> > > (); }