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.0 (11.1.0)
Syntax public PriorityQueueRTree Nearest(
Point p,
double furthestDistance
)
Public Function Nearest (
p As Point,
furthestDistance As Double
) As PriorityQueueRTree
public:
PriorityQueueRTree^ Nearest(
Point p,
double furthestDistance
)
member Nearest :
p : Point *
furthestDistance : float -> PriorityQueueRTree
Parameters
- p
- Type: VelocityDBExtensions.SpatialPoint
the point we are looking for - furthestDistance
- Type: SystemDouble
The furthest distance away from the rectangle to search. Rectangles further than this will not be found.
Return Value
Type:
PriorityQueueRTreea PriorityQue containing the found recatngles and their priorities (distances from point)
See Also