Function: prub

Syntax

prub (<point>, {<window> {,<cursor>}})

Type

point

Returns

A 3-D point read interactively via the mouse using a rubber band drawn from an anchor pointer.

Parameters

Examples

Allows the user to indicate a point in a graphic window using the graphic control position (gc) as anchor for the rubber band.

point p = prub(gc)

Allows the user to indicate a point in a new window using a point (600,500,0) as anchor for the rubber band.

window mywin = wgraphic; box; plan
point myp = (600,500,0)
point p = prub(myp,mywin)

See Also

Commands:

uncursor

Functions:

pcur (point)

Identifiers:

gc (point), tracking (procedure)