I have written asymptote
code:
\begin{asy}
import geometry;
//import g2geo;
unitsize(1cm);
defaultpen(fontsize(11pt));
pair A=(0.8,4); dot(Label("$A$",align=NW),A);
pair B=(0,0); dot(Label("$B$",align=SW),B);
pair C=(7,0); dot(Label("$C$",align=SE),C);
draw(A--B--C--A);
triangle t=triangle(A,B,C);
draw(circle(A,B,C));
point I=incenter(t); dot(Label("$I$",align=NW),I);
point M=midpoint(t.BC); dot(Label("$M$",align=NW),M);
circle b=incircle(t), c=excircle(t.BC);
draw(b,red); draw(c,red);
hyperbola hypB=hyperbola(M,b.C,b.r/2); draw(hypB,brown);
hyperbola hypC=hyperbola(M,c.C,c.r/2); draw(hypC,orange);
point[] temp=intersectionpoints(hypB,hypC);
//dot(Label("$t_0$",align=SE),temp[0]);
\end{asy}
When I draw 2 hyperbolas (as shown above) and find their intersections using the function intersectionpoints(hypB,hypC)
, it doesn't return any value.
Please help me fix this code.
g2geo
module?