polygon_properties_test


polygon_properties_test, a MATLAB program which calls polygon_properties() to compute properties of an arbitrary polygon in the plane, defined by a sequence of vertices.

Licensing:

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

Related Data and Programs:

polygon_properties, a MATLAB library 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 26 February 2019.