Function: pbox

 Syntax

pbox ({<window>})

Type

point

Returns

The opposite corners of a 2-D box defined via an interactive rubber box operation. Two point values are returned:

(minx,miny,minz) and (maxx,maxy,maxz).

Since the system operates in three dimensions, any required third coordinate will be taken from the current value of the graphic control position (gc) when the view is orthographic, or from the focus position when the view is perspective.

Parameters

Examples

Gets two points via a rubber box in any graphic window selected by the user.

point p[2] = pbox

Gets two points via a rubber box in a specific graphic window.

point p[2] = pbox(mywin)

See Also

Commands:

uncursor

Functions:

pcirc (point), pcur (point)

Identifiers:

gc (point)