polygon_grid_test


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

Licensing:

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

Related Data and Programs:

polygon_grid, a Fortran90 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 18 August 2020.