polygon_grid_test, a Fortran90 code which calls polygon_grid(), which generates a grid of points over the interior of a polygon in 2D.
The information on this web page is distributed under the MIT license.
polygon_grid, a Fortran90 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.