KDTree2d<T>.GetRange (Double, Double, Double, Double, ref List<T>) Method

Appends all objects that is inside a given rectangle to a list.
public void GetRange( 
   double x1
   double y1
   double x2
   double y2
   ref List<T> res 
)

Parameters

x1
double

X position of one veritcal edge of rectangle.

y1
double

Y position of one horizontal edge of rectangle.

x2
double

X position of the other veritcal edge of rectangle.

y2
double

Y position of the other veritcal edge of rectangle.

res
List<T>

A list that found objects are appended to.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition