Example #1
0
 /// <summary>
 /// Returns an enumeration of objects within the given distance around the given coordinates.
 /// </summary>
 /// <param name="x">The x-value of the coordinate.</param>
 /// <param name="y">The y-value of the coordinate.</param>
 /// <param name="distance">The distance for the search.</param>
 /// <returns>All objects within distance.</returns>
 public IEnumerable <T> GetObjectsWithinDistance(double x, double y, double distance)
 {
     return(_rootNode.GetObjectsWithinDistance(x, y, distance));
 }