**sphere_grid_test**,
a MATLAB library which
calls sphere_grid() to construct a variety of sets of points
over the surface of a sphere in 3D.

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

sphere_grid, a MATLAB library which provides a number of ways of generating grids of points, or of points and lines, or of points and lines and faces, on the surface of the unit sphere in 3D.

- sphere_grid_test.m, calls all the tests;
- sphere_grid_test.sh, runs all the tests;
- sphere_grid_test.txt, the output file.

- sphere_grid_test01.m, tests SPHERE_GRID_ICOS_NUM;
- sphere_grid_test02.m, tests SPHERE_GRIDPOINTS_ICOS1;
- sphere_grid_test03.m, tests SPHERE_GRIDPOINTS_ICOS2;
- sphere_grid_test04.m, tests SPHERE_LL_POINTS;
- sphere_grid_test05.m, tests SPHERE_SPIRALPOINTS;
- sphere_grid_test06.m, tests SPHERE_LL_LINES;
- sphere_grid_test07.m, tests SPHERE_GRID_Q4;
- sphere_grid_test08.m, tests SPHERE_GRID_T3;
- sphere_grid_test09.m, tests SPHERE_UNIT_SAMPLE.
- sphere_grid_test10.m, tests SPHERE_CUBED_POINTS.
- sphere_grid_test11.m, uses SPHERE_LL_POINTS and SPHERE_LL_LINES to draw a sphere with a latitude/longitude grid on it.
- sphere_grid_test12.m, uses SPHERE_LL_POINTS and SPHERE_LLQ_LINES to draw a sphere with a latitude/longitude quadrilateral grid on it.
- sphere_grid_test13.m, uses SPHERE_CUBED_POINTS and SPHERE_CUBED_LINES to draw a sphere with a cubed sphere grid.

Data files and images of the sphere grids were created by the example program.

- sphere_cubed_grid.png the points and lines of a cubed sphere grid.
- sphere_icos1_points_f3.xyz the point coordinates for an icosahedral grid with factor 3.
- sphere_icos1_points_f3.png an image.
- sphere_icos1_points_f4.xyz the point coordinates for an icosahedral grid with factor 4.
- sphere_icos1_points_f4.png an image.
- sphere_icos1_points_f5.xyz the point coordinates for an icosahedral grid with factor 5.
- sphere_icos1_points_f5.png an image.
- sphere_icos1_points_f7.xyz the point coordinates for an icosahedral grid with factor 7.
- sphere_icos1_points_f7.png an image.
- sphere_icos1_points_f9.xyz the point coordinates for an icosahedral grid with factor 9.
- sphere_icos1_points_f9.png an image.
- sphere_icos2_grid_f3.xyz the point coordinates for an icosahedral grid with factor 3.
- sphere_grid_spiral_n500.xyz the point coordinates for a sprial sphere grid with 500 points.
- sphere_ll_grid.png an image of a sphere with a latitude/longitude grid on it.
- sphere_llq_grid.png an image of a sphere with a latitude/longitude quadrilateral grid on it.
- sphere_sample_1000.xyz the point coordinates for a random sample of 1000 sphere points.