OUTBOX Name
OUTBOX Purpose
Test if given point outside given box.
Category
Calling Sequence
flag = outbox( x, y, x1, x2, y1, y2)
Inputs
x, y = x and y of point to test. in
x1, x2 = min and max x of test box. in
y1, y2 = min and max y of test box. in
Keyword Parameters
Keywords
EXPAND=ex Pixels to expand box by before checking if
outside. Makes easier to grab. Could also give ex<0
to shrink box.
Outputs
flag = result: 0=not outside, 1= outside. out
Common Blocks
Notes
Notes: x and y may be a scalar or array.
Modification History
R. Sterner, 1997 Nov 10
R. Sterner, 2004 Mar 23 --- Added EXPAND=ex
Copyright (C) 1997, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.