circle_segment_test


circle_segment_test, an Octave code which calls circle_segment(), which carries out computations associated with a circle segment, including height, width, angle, area, centroid, sampling, and quadrature.

Licensing:

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

Related Data and Programs:

circle_segment, an Octave code which carries out computations associated with a circle segment, including height, angle, area, centroid, sampling, and quadrature.

Source Code:

Test 3 plots quadrature points for circle segments of various angles THETA:

Test 6 samples points from circle segments of various angles THETA:

Test 12 plots the quadrature points for several rules, defined on circle segments that are specified by R (circle radius), C (circle center), and P1, P2 (the points that define the chord.)

Test 16 plots points for circle sectors.

Test 17 plots points for a circle segment.


Last revised on 02 July 2023.