Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

bbox(3)  —  Unix Programmer’s Manual

NAME

bbox - specify bounding box and minimum pixel radius for drawing commands

SYNOPSIS

C
bbox(xmin, ymin, x1, y1, z1, x2, y2, z2)
Screencoord xmin, ymin;
Coord x1, y1, z1, x2, y2, z2;

bboxi(xmin, ymin, x1, y1, z1, x2, y2, z2)
Screencoord xmin, ymin;
Icoord x1, y1, z1, x2, y2, z2;

bbox2(xmin, ymin, x1, y1, x2, y2)
Screencoord xmin, ymin;
Coord x1, y1, x2, y2;

bbox2i(xmin, ymin, x1, y1, x2, y2)
Screencoord xmin, ymin;
Icoord x1, y1, x2, y2;

FORTRAN
subroutine bbox(xmin, ymin, x1, y1, z1, x2, y2, z2)
integer∗2 xmin, ymin
real x1, y1, z1, x2, y2, z2

subroutine bboxi(xmin, ymin, x1, y1, z1, x2, y2, z2)
integer∗2 xmin, ymin
integer x1, y1, z1, x2, y2, z2

subroutine bbox2(xmin, ymin, x1, y1, x2, y2)
integer∗2 xmin, ymin
real x1, y1, x2, y2

subroutine bbox2i(xmin, ymin, x1, y1, x2, y2)
integer∗2 xmin, ymin
integer x1, y1, x2, y2

Pascal
procedure bbox(xmin, ymin: Screencoord; x1, y1, z1, x2, y2, z2: Coord);

procedure bboxi(xmin, ymin: Screencoord; x1, y1, z1, x2, y2, z2: Icoord);

procedure bbox2(xmin, ymin: Screencoord; x1, y1, x2, y2: Coord);

procedure bbox2i(xmin, ymin: Screencoord; x1, y1, x2, y2: Icoord);

DESCRIPTION

The bbox command controls the pruning and culling functions.  Its arguments are an object space bounding box and minimum horizontal and vertical feature sizes, in pixels.  The bounding box is transformed to screen coordinates and compared with the viewport.  If the bounding box is completely outside the viewport, the commands between the bbox command and the end of the object will be ignored.  Otherwise, the bounding box of the transformed bounding box is compared with the minimum feature size.  If the bounding box is too small in both the x and y dimensions, the rest of the commands in the object are ignored.  Otherwise, interpretation of the object continues. 

SEE ALSO

makeobj

Silicon Graphics  —  R1c

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026