quadtrees vocabulary
Factor handbook ยป Vocabulary index


Documentation
Quadtrees

Metadata
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


Metadata files