circle_segment_test, a C++ program which calls circle_segment() to carry 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.

Related Data and Programs:

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

Source Code:

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

Last revised on 19 February 2020.