quadtrees vocabulary
Factor handbook > Vocabulary index


Documentation
Quadtrees

Meta-data
Tags:collections, graphics
Authors:Joe Groff


Words

Tuple classes
ClassSuperclassSlots
quadtree tuplebounds point value ll lr ul ur leaf?


Ordinary words
WordStack effect
(quadrant)( pt node -- quadrant )
<quadtree>( bounds -- quadtree )
descend( pt node -- pt subnode )
each-quadrant( node quot -- )
in-rect( tree rect -- values )
map-quadrant( node quot: ( child-node -- x ) -- array )
prune-quadtree( tree -- tree )
quadrant( pt node -- quadrant )
rect-center( rect -- point )
rect-ll( rect -- point )
rect-lr( rect -- point )
rect-ul( rect -- point )
rect-ur( rect -- point )
swizzle( sequence quot -- sequence' )


Class predicate words
WordStack effect
quadtree?( object -- ? )


Files


Children
VocabularySummary
quadtrees.privatequadtrees.private vocabulary