04 Nov 2007

Unofficial package base_pi.asy – fig0130

Figure 0004
(Compiled with Asymptote version 2.14svn-r5318)
    
import base_pi;
import stats;
size(6cm,0);

path cle=randompath(7);
draw(cle);

pair a=(1,0), b=(0.75,.3);
dot("$A$",a);
dot("$B$",b);
/* View the definition of pair[] intersectionpoints(path,pair,pair) */
pair[] pta=intersectionpoints(cle,a,b);
/* View the definition of guide join(pair[],interpolate) */
draw(join(pta));
dot(pta,red);

Étiquettes :