Parents: | math |
Tags: | math |
Class | Superclass | Slots |
rect | tuple | loc dim |
Word | Syntax |
RECT: |
Word | Stack effect |
contains-point? | ( point rect -- ? ) |
contains-rect? | ( rect1 rect2 -- ? ) |
Word | Stack 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 ) |
Word | Stack effect |
rect? | ( object -- ? ) |
Vocabulary | Summary |
math.rectangles.positioning | |
math.rectangles.prettyprint |