**polygon_properties_test**,
a FORTRAN90 code which
calls polygon_properties(), which
computes properties of an arbitrary polygon in the plane.

The computer code and data files made available on this web page are distributed under the GNU LGPL license.

polygon_properties, a FORTRAN90 code which computes properties of an arbitrary polygon in the plane, defined by a sequence of vertices, including interior angles, area, centroid, containment of a point, convexity, diameter, distance to a point, inradius, lattice area, nearest point in set, outradius, uniform sampling.

- polygon_properties_test.f90, a sample calling program.
- polygon_properties_test.sh, runs all the tests.
- polygon_properties_test.txt, the output file.