polygon_grid_test


polygon_grid_test, a C++ code which calls polygon_grid(), which generates a grid of points over the interior of a polygon in 2D.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Related Data and Programs:

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

Source Code:

ELL is an L-shaped (non-convex!) polygon for which the program output doesn't look too bad, although the grid is degenerate.

QUAD is a quadrilateral polygon.

TRIANGLE is a triangular polygon.


Last revised on 31 March 2020.