x value of the upper right point of the MBR
y value of the upper right point of the MBR
x value of the lower left point of the MBR
y value of the lower left point of the MBR
Returns a distance to the nearest R-tree entry for the given point.
Returns a distance to the nearest R-tree entry for the given point.
Search distance can be limited by the maxDist
parameter.
x value of the given point
y value of the given point
an exclusive limit of the distance (infinity by default)
the function that receives found values and their distances and returns the current maximum distance
a distance calculator provided according to geometry of indexed entries
the distance to a found entry or initially submitted value of maxDist
Appends a prettified string representation of the r-tree.
Appends a prettified string representation of the r-tree.
a string builder to append to
a size of indent step for each level or 0 if indenting is not required
the provided string builder
Call the provided f
function with entries whose MBR intersects with the given point.
Call the provided f
function with entries whose MBR intersects with the given point.
x value of the lower left point of the given rectangle
y value of the lower left point of the given rectangle
x value of the upper right point of the given rectangle
y value of the upper right point of the given rectangle
the function that receives found values
Call the provided f
function with entries whose MBR contains the given point.
Call the provided f
function with entries whose MBR contains the given point.
x value of the given point
y value of the given point
the function that receives found values
a sequence of all entries
Returns a sequence of up to the specified number of nearest R-tree entries for the given point.
Returns a sequence of up to the specified number of nearest R-tree entries for the given point.
Search distance can be limited by the maxDist
parameter.
x value of the given point
y value of the given point
a maximum number of nearest entries to collect
an exclusive limit of the distance (infinity by default)
a distance calculator provided according to geometry of indexed entries
a sequence of the nearest entries
Returns an option of the nearest R-tree entry for the given point.
Returns an option of the nearest R-tree entry for the given point.
Search distance can be limited by the maxDist
parameter.
x value of the given point
y value of the given point
an exclusive limit of the distance (infinity by default)
a distance calculator provided according to geometry of indexed entries
an option of the nearest entry
Returns a sequence of all entries in the R-tree whose MBR intersects the given rectangle.
Returns a sequence of all entries in the R-tree whose MBR intersects the given rectangle.
x value of the lower left point of the given rectangle
y value of the lower left point of the given rectangle
x value of the upper right point of the given rectangle
y value of the upper right point of the given rectangle
a sequence of found values
Returns a sequence of all entries in the R-tree whose MBR contains the given point.
Returns a sequence of all entries in the R-tree whose MBR contains the given point.
x value of the given point
y value of the given point
a sequence of found values
a prettified string representation of the r-tree
In-memory immutable r-tree with the minimal bounding rectangle (MBR).
a type of values being put in the tree