query_points

IntervalTree.query_points(points)[source]

Find all intervals of this tree which contain one of those points.

Parameters

points – A list of points.

Returns

List of lists which contain the enclosing intervals of this tree for each element in points.