Click or drag to resize

RTreeNearest Method

Finds the nearest rectangles to the passed point. If multiple rectangles are equally near, they will all be returned.

Namespace:  VelocityDBExtensions.Spatial
Assembly:  VelocityDBExtensions (in VelocityDBExtensions.dll) Version: (11.1.0)
public PriorityQueueRTree Nearest(
	Point p,
	double furthestDistance


Type: VelocityDBExtensions.SpatialPoint
the point we are looking for
Type: SystemDouble
The furthest distance away from the rectangle to search. Rectangles further than this will not be found.

Return Value

Type: PriorityQueueRTree
a PriorityQue containing the found recatngles and their priorities (distances from point)
See Also