polygon_grid_test, a C++ code which calls polygon_grid(), which generates a grid of points over the interior of a polygon in 2D.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
polygon_grid, a C++ code which generates a grid of points over the interior of a polygon in 2D.
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.