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

POLYSTAT

POLYSTAT

Name


      POLYSTAT

Purpose


      Compute polygon statistics (# vertices, area, perimeter).

Category


Calling Sequence


      polystat, x, y, s

Inputs


      x,y = polygon vertices. in

Keyword Parameters


Keywords


        /CURVE means x,y are a curve, return
          arc_length instead of perimeter (area=0).
        /SIGNED returned signed area (no abs(a)).

Outputs


      s = statistics. out
        s = [n_vertices, area, perimeter].

Common Blocks


Notes


      Notes: See also drawpoly.

Modification History


      R. Sterner, 30 Oct, 1990
      R. Sterner, 2006 Mar 15 --- Added /SIGNED.
  Copyright (C) 1990, 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