Skip to content

Commit c0efa16

Browse files
committed
docs: update future features md
1 parent 7607558 commit c0efa16

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/future_features.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,7 @@ Currently, KNN only supports finding the nearest neighbors based on euclidean di
2121
By adding a criteria function, we could allow users to define custom criteria for finding neighbors by passing a function that
2222
takes in a point and returns a score. The KNN algorithm would then use this score to determine the nearest neighbors.
2323

24-
### 3. KNN in rectangle quadtree
25-
26-
Currently, KNN is only supported in the point quadtree. By adding KNN support to the rectangle quadtree, we could allow users to find the nearest rectangles to a given point. This would be to the nearest edge of the rectangle, adding complexity to the algorithm.
27-
However, it will allow for really quick collision detection between a point and a set of rectangles as the point can just do
28-
robust-collision handling with the nearest rectangles.
29-
30-
### 4. Circle support
24+
### 3. Circle support
3125

3226
Currently, we support points and rectangles in two separate quadtrees.
3327
For example, in the ball-pit demo, we use a point quadtree, but then query a larger area to account for the radius of the balls.
@@ -39,6 +33,12 @@ A good alternative is to use the rectangle quadtree and insert the minimum bound
3933

4034
Once a feature from above is completed, it will be moved to this section.
4135

36+
### KNN in rectangle quadtree (1.5.0)
37+
38+
Currently, KNN is only supported in the point quadtree. By adding KNN support to the rectangle quadtree, we could allow users to find the nearest rectangles to a given point. This would be to the nearest edge of the rectangle, adding complexity to the algorithm.
39+
However, it will allow for really quick collision detection between a point and a set of rectangles as the point can just do
40+
robust-collision handling with the nearest rectangles.
41+
4242
### Numpy Queries (1.4.0)
4343

4444
To improve performance when querying, we add support to have your result returned in a pre-allocated Numpy array.

0 commit comments

Comments
 (0)