Debian Codegraph @

texmf-dist/doc/metapost/featpost/example/halfcirclesfear.mp

raw
1 % halfcirclesfear
2 % L. Nobre G.
3 % 2001
4
5 input featpost3Dplus2D;
6
7 % input la3Dmacros;
8
9 verbatimtex
10 \documentclass{article}
11 \usepackage{beton}
12 \usepackage{concmath}
13 \usepackage{ccfonts}
14 \begin{document}
15 etex
16
17 beginfig(1);
18 color centre, axpin, axpon, axpun;
19 numeric size, radii;
20 f := (4,1.5,3.5);
21 size = 0.5;
22 radii = 1;
23 centre = (0,0,0);
24 axpin = (0,0,1);
25 axpon = (0,1,0);
26 axpun = (1,0,0);
27 cartaxes( 1.2,1.2,0.8 );
28 pickup pencircle scaled 2;
29 draw rigorouscircle( centre, axpin, radii ) withcolor red;
30 draw goodcirclepath( centre, axpin, radii );
31 draw spatialhalfcircle( centre, axpon, size, true );
32 draw spatialhalfcircle( centre, axpon, size, false ) dashed evenly;
33 draw spatialhalfcircle( centre, axpun, size, true );
34 draw spatialhalfcircle( centre, axpun, size, false ) dashed evenly;
35 draw rigorousfearpath( centre, size );
36 endfig;
37
38
39 verbatimtex
40 \end{document}
41 etex
42
43 end;