arc
arc(r,a,da,np)
Returns the line regular polygonal 3D np points listed in the arc of a circle of radius r, starting at the angle a
and opening da.
arc(r,a,da,np,2)
Returns the same polygonal line, but in 2D.
arc(r,a,da,np,dimp,dr)
Returns the polygonal line (dimp = 2: 2D dimp = 3: 3D) np points included in the initial radius r spiral,
starting at the angle a, da opening and increasing radius = dr * angle.
Examples:
a=arc(100,0,2*PI,5);edit a;
Print:
0: 100.000000 0.000000 0.000000
1: -0.000004 100.000000 0.000000
2: -100.000000 -0.000009 0.000000
3: 0.000001 -100.000000 0.000000
4: 100.000000 0.000017 0.000000
a=arc(100,0,2*PI,5,2);edit format(2);
Print:
0: 100.000000 0.000000
1: -0.000004 100.000000
2: -100.000000 -0.000009
3: 0.000001 -100.000000
4: 100.000000 0.000017
a=arc(0,0,4*PI,12,2,5);edit format(2);
Print:
0: 0.000000 0.000000
1: 2.372845 5.195807
2: -7.481113 8.633662
3: -16.441833 -4.827762
4: -3.251595 -22.615391
5: 24.026152 -15.440658
6: 28.831367 18.528814
7: -5.690324 39.576927
8: -43.844898 12.873995
9: -33.664993 -38.851494
10: 23.728439 -51.958061
11: 62.831848 -0.000038