polygon_minkowski


polygon_minkowski, a MATLAB code which converts polygons between the vertex representation and the Minkowski representation, which uses a sequence of (non-unit) normal vectors.

Minkowski showed that any polygon (or higher dimensional polytope) can be represented by a set of normal vectors, such that vector v(i) has norm a(i), with the property that the sum v(i) = 0.

Licensing:

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

Languages:

polygon_minkowski is available in a MATLAB version.

Related Data and Programs:

polygon_minkowski_test

polygon, a MATLAB 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, counter clockwise ordering, diameter, distance to a point, inradius, lattice area, nearest point in set, outradius, uniform sampling, and triangulation.

polygon_average, a MATLAB code which demonstrates a process of repeatedly averaging and normalizing the vertices of a polygon, illustrating a property of the power method.

polygon_distance, a MATLAB code which computes the expected value of the distance between a pair of points randomly selected from a polygon in 2D.

polygon_grid, a MATLAB code which generates a grid of points over the interior of a polygon in 2D.

polygon_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of a polygon in 2D.

polygon_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function over the interior of a polygon in 2D.

polygon_triangulate, a MATLAB code which triangulates a (possibly nonconvex) polygon, based on a C function by Joseph Orourke.

Source Code:


Last modified on 25 November 2024.