**circle_segment_test**,
a FORTRAN90 code which
calls circle_segment(), which
carries out various computations associated with a circle segment,
using gnuplot to illustrate some of the computations.

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

circle_segment, a FORTRAN90 code which carries out computations associated with a circle segment, including height, angle, area, centroid, sampling, and quadrature, creating some graphics plots using gnuplot.

- circle_segment_test.f90, calls all the tests.
- circle_segment_test.sh, runs all the tests.
- circle_segment_test.txt, the output file.

Test number 6 creates some samples of points in circle segments, and writes out data files and gnuplot command files to create graphics:

- sample01_boundary.txt, data defining the boundary of the circle segment.
- sample01_commands.txt, commands to gnuplot to create a plot.
- sample01_data.txt, the sample data.
- sample01.png, the plot
- sample02_boundary.txt, data defining the boundary of the circle segment.
- sample02_commands.txt, commands to gnuplot to create a plot.
- sample02_data.txt, the sample data.
- sample02.png, the plot
- sample03_boundary.txt, data defining the boundary of the circle segment.
- sample03_commands.txt, commands to gnuplot to create a plot.
- sample03_data.txt, the sample data.
- sample03.png, the plot
- sample04_boundary.txt, data defining the boundary of the circle segment.
- sample04_commands.txt, commands to gnuplot to create a plot.
- sample04_data.txt, the sample data.
- sample04.png, the plot