triangle_grid_test
triangle_grid_test,
a MATLAB program which
calls triangle_grid() to generate a grid of points
over the interior of a triangle in 2D.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Related Data and Programs:
triangle_grid,
a MATLAB library which
computes a grid of points
over the interior of a triangle in 2D.
Source Code:
-
triangle_grid_test01.m,
sets up 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.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.
-
triangle_grid_test02.m,
sets up a grid of 5151 points, generated by subdividing by 100 each side
of the (0,0), (1,0), (1/2,sqrt(3)/2) triangle.
-
triangle_grid_test02.xy,
a grid of 5151 points, generated by subdividing by 100 each side
of the (0,0), (1,0), (1/2,sqrt(3)/2) triangle.
-
triangle_grid_test02.png,
a closeup of an image of the points.
Last revised on 06 April 2019.