Click or drag to resize

RTreeNearestN Method

Finds the N nearest rectangles to the passed point. If multiple rectangles are equally near, they will all (but total limited to N) be returned.

Namespace:  VelocityDBExtensions.Spatial
Assembly:  VelocityDBExtensions (in VelocityDBExtensions.dll) Version: 11.1.0.0 (11.1.0)
Syntax
public PriorityQueueRTree NearestN(
	Point p,
	uint count,
	double furthestDistance
)

Parameters

p
Type: VelocityDBExtensions.SpatialPoint
the point we are looking for
count
Type: SystemUInt32
max number of rectangles to look for
furthestDistance
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