You may view all the posts of the category "geometry.asy"
|
|
| (Compiled with Asymptote version 2.14svn-r5318) |
import geometry;
size(8cm,0);
currentcoordsys=cartesiansystem((1,2),i=(1,0.5),j=(-0.5,.75));
show(currentcoordsys, xpen=invisible);
real R=2;
point A=(1,1.5);
dot("$A$",A,S,red);
point B=A+(2,1);
dot("$B$",B,S,blue);
arc a=arc(circle(A,R),-40,180);
arc b=arc(circle(B,R),-45,220);
draw(a,red);
draw(b,blue);
point M=intersectionpoints(a,b)[0];
dot(M);
/* View the definition of line tangent(explicit arc,point) */
draw(tangent(a,M), grey);
draw(tangent(b,M), grey);
/* View the definition of line tangent(explicit arc,abscissa) */
draw(tangent(a,angabscissa(45)), grey);






