findNeighbors method

List<Node> findNeighbors(
  1. Vector2 target,
  2. double radius
)

Implementation

List<Node> findNeighbors(Vector2 target, double radius) {
  List<Node> results = [];
  _searchNeighbors(_root, target, radius, results);
  return results;
}