math.rectangles vocabulary
Factor handbook ยป Vocabulary index


Documentation
Rectangles

Metadata
Tags:math


Words

Tuple classes
ClassSuperclassSlots
rect tupleloc dim


Parsing words
WordSyntax
RECT:


Generic words
WordStack effect
contains-point?( point rect -- ? )
contains-rect?( rect1 rect2 -- ? )


Ordinary words
WordStack effect
(rect-intersect)( rect rect -- array array )
(rect-union)( rect rect -- array array )
<extent-rect>( loc ext -- rect )
<rect>( loc dim -- rect )
<zero-rect>( -- rect )
offset-rect( rect loc -- newrect )
point>rect( loc -- rect )
rect-bounds( rect -- loc dim )
rect-center( rect -- center )
rect-containing( points -- rect )
rect-extent( rect -- loc ext )
rect-intersect( rect1 rect2 -- newrect )
rect-min( rect dim -- rect' )
rect-union( rect1 rect2 -- newrect )
set-rect-bounds( rect1 rect -- )
with-rect-extents( ..a+b rect1 rect2 loc-quot: ( ..a loc1 loc2 -- ..c ) ext-quot: ( ..b ext1 ext2 -- ..d ) -- ..c+d )


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


Files


Metadata files


Children from resource:basis
VocabularySummary
math.rectangles.positioning
math.rectangles.prettyprint