polygon_test


polygon_test, a Fortran90 code which calls polygon(), which computes properties of an arbitrary polygon in the plane.

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and Programs:

polygon, 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.

Source Code:


Last revised on 18 August 2020.