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

GENARROW

GENARROW

Name


      GENARROW

Purpose


      Generate an arrow polygon.

Category


Calling Sequence


      genarrow, x1, y1, x2, y2, x, y

Inputs


      (x1,y1) = tail of arrow. in
      (x2,y2) = head of arrow. in

Keyword Parameters


Keywords


        AWID=hw arrowhead width. Def=20% of shaft length.
        ALEN=hl arrowhead length. Def=40% of shaft length.
        SHAFT=sw shaft width. Def=10% of shaft length.
        /PERCENT means above values given as % arrow length.

Outputs


      x,y = arrow polygon (closed). out

Common Blocks


Notes


      Note: if /PERCENT is given then all values are in %.
        If /PERCENT is not given then given values are in
        same units as (x1,y1), (x2,y2), and unspecified values
        are default percents.

Modification History


      R. Sterner. 5 SEP, 1986. FROM TVARROW.PRO.
      R. Sterner, 17 Sep, 1992 --- upgraded to IDL V2. Added some keywords.
  Copyright (C) 1986, 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.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us