**triangle_grid_test**,
a C++ code which
calls triangle_grid(), which
generates a grid of points
over the interior of a triangle in 2D.

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

triangle_grid, a C++ code which computes a grid of points over the interior of a triangle in 2D.

- triangle_grid_test.cpp, a sample calling program.
- triangle_grid_test.sh, runs all the tests.
- triangle_grid_test.txt, the output file.

- triangle_grid_test01.xy, a grid of 66 points, generated by subdividing by 10 each side of the (0,0), (1,0), (1/2,sqrt(3)/2) triangle.
- triangle_grid_test01.png, an image of the points.