summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/doc/join.asy
blob: 75fa14f36caf900b5553ec268025138ce362b2e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
size(300,0);
pair[] z=new pair[10];

z[0]=(0,100); z[1]=(50,0); z[2]=(180,0);

for(int n=3; n <= 9; ++n)
  z[n]=z[n-3]+(200,0);

path p=z[0]..z[1]---z[2]::{up}z[3]
&z[3]..z[4]--z[5]::{up}z[6]
&z[6]::z[7]---z[8]..{up}z[9];

draw(p,grey+linewidth(4mm));

dot(z);