Handbook
Glossary
in-rect ( tree rect -- values )
Quadtrees
Prev:
<quadtree> ( bounds -- quadtree )
Next:
prune-quadtree ( tree -- tree )
Vocabulary
quadtrees
Inputs
tree
a
quadtree
rect
a
rect
Outputs
values
a
sequence
Word description
Returns a
sequence
of values from
tree
whose keys lie inside
rect
.
Definition
USING:
kernel
quadtrees.private
vectors
;
IN:
quadtrees
:
in-rect
( tree rect -- values )
[
16
<vector>
]
2dip
in-rect*
;