circle_arc_grid_test


circle_arc_grid_test, a C++ program which calls circle_arc_grid() to calculate a grid of points along 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 C++ program which computes a grid of points computes a grid of points 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 18 February 2020.