queryPoint

fun queryPoint(point: Vector2, result: MutableList<Int> = mutableListOf()): MutableList<Int>(source)

Queries the tree for all objects that contain the specified point.

Return

A list containing the indices of objects that contain the given point.

Parameters

point

The point to query within the tree.

result

A mutable list to store the indices of objects containing the point. If not provided, a new list will be created and returned.