Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  Beaumont  >  PERIMETER

PERIMETER

PERIMETER

Purpose


  Compute the perimeter of a polygon defined by a set of x/y points

Calling Sequence


  p = perimeter(x, y)

Inputs


  x: List of x points
  y: List of y points

Outputs


  Perimeter defined by connecting x/y pairs. The perimeter includes
  the line segment from the last x/y pair to the first x/y pair.
  METHOD SUMMARY:
  The length of the line segment connecting each x/y pair is computed
  using the pythagorean theorem in double precision. Lengths are
  summed.

Modification History


  May 2012: Written by Chris Beaumont



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