RTreeEntry
Create an entry for a rectangle and a value.
Create an entry for a rectangle and a value.
- Type Params
- A
a type of th value being put in the tree
- Value Params
- maxX
x value of the upper right point of the given rectangle
- maxY
y value of the upper right point of the given rectangle
- minX
x value of the lower left point of the given rectangle
- minY
y value of the lower left point of the given rectangle
- value
a value to store in the r-tree
Value members
Concrete methods
Inherited methods
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.
- Value Params
- distCalc
a distance calculator provided according to geometry of indexed entries
- k
a maximum number of nearest entries to collect
- maxDist
an exclusive limit of the distance (infinity by default)
- x
x value of the given point
- y
y value of the given point
- Returns
a sequence of the nearest entries
- Inherited from
- RTree
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.
- Value Params
- distCalc
a distance calculator provided according to geometry of indexed entries
- maxDist
an exclusive limit of the distance (infinity by default)
- x
x value of the given point
- y
y value of the given point
- Returns
an option of the nearest entry
- Inherited from
- RTree
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.
- Value Params
- maxX
x value of the upper right point of the given rectangle
- maxY
y value of the upper right point of the given rectangle
- minX
x value of the lower left point of the given rectangle
- minY
y value of the lower left point of the given rectangle
- Returns
a sequence of found values
- Inherited from
- RTree
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.
- Value Params
- x
x value of the given point
- y
y value of the given point
- Returns
a sequence of found values
- Inherited from
- RTree