circle_arc_grid_test


circle_arc_grid_test, a FORTRAN77 code which calls circle_arc_grid(), which calculates a grid of points equally spaced over the length of a circle or circular arc 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 Programs:

circle_arc_grid, a FORTRAN77 code which calculates a grid of points equally spaced over the length of a circle or circular arc in 2D.

Source Code:

ARC is a set of 10 equally spaced points from 0 to 90 degrees, on a circle of radius 2 centered at (5,5).

PENTAGON is a set of 6(!) equally spaced points from 0 to 360 degrees. This is the easiest way to get a pentagon, but you should really edit the file and remove the last point, since it repeats the first one. The alternative is to specify that the angles range from 0 to 288 degrees!


Last revised on 23 September 2023.