>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  INBOX

INBOX

INBOX

Name


      INBOX

Purpose


      Test if given point inside given box.

Category


Calling Sequence


      flag = inbox( 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


Outputs


      flag = result: 0=not inside, 1= inside. out

Common Blocks


Notes


      Notes: x and y may be a scalar or array.

Modification History


      R. Sterner, 1997 Nov 10
  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.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us