summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/orthocenter.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/orthocenter.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/orthocenter.asy40
1 files changed, 0 insertions, 40 deletions
diff --git a/Master/texmf/doc/asymptote/examples/orthocenter.asy b/Master/texmf/doc/asymptote/examples/orthocenter.asy
deleted file mode 100644
index 5c6807b4f25..00000000000
--- a/Master/texmf/doc/asymptote/examples/orthocenter.asy
+++ /dev/null
@@ -1,40 +0,0 @@
-import geometry;
-import math;
-
-size(7cm,0);
-
-real theta=degrees(asin(0.5/sqrt(7)));
-
-pair B=(0,sqrt(7));
-pair A=B+2sqrt(3)*dir(270-theta);
-pair C=A+sqrt(21);
-pair O=0;
-
-pair Ap=extension(A,O,B,C);
-pair Bp=extension(B,O,C,A);
-pair Cp=extension(C,O,A,B);
-
-perpendicular(Ap,NE,Ap--O,blue);
-perpendicular(Bp,NE,Bp--C,blue);
-perpendicular(Cp,NE,Cp--O,blue);
-
-draw(A--B--C--cycle);
-
-currentpen=black;
-
-draw("1",A--O,-0.25*I*dir(A--O));
-draw(O--Ap);
-draw("$\sqrt{7}$",B--O,LeftSide);
-draw(O--Bp);
-draw("4",C--O);
-draw(O--Cp);
-
-dot("$O$",O,dir(B--Bp,Cp--C),red);
-dot("$A$",A,dir(C--A,B--A),red);
-dot("$B$",B,NW,red);
-dot("$C$",C,dir(A--C,B--C),red);
-dot("$A'$",Ap,dir(A--Ap),red);
-dot("$B'$",Bp,dir(B--Bp),red);
-dot("$C'$",Cp,dir(C--Cp),red);
-
-label(graphic("piicon","width=2.5cm"),Ap,5ENE,red);