tkz-euclide InterLC 获取交叉点时出错

tkz-euclide InterLC 获取交叉点时出错

因此tkz-euclide,我希望通过重新创建此图像

这个三角形

AB = BC = CD = DE = EF

到目前为止我所做的就是遵循 MWE:

\documentclass[tikz]{standalone}
\usepackage{tkz-euclide,tkz-base}
\begin{document}
\begin{tikzpicture}
\tkzDefPoints{0/0/A,15/0/G} % I use G since I thought AB is limited as a segment not a line or something else
\tkzDefPoint(18:3){B}
\tkzDrawCircle(B,A)
\tkzInterLC(A,G)(A,B) \tkzGetPoint{C}
\tkzDefCircle(C,B)
\tkzInterLC(A,C)(B,C) \tkzGetPoint{D}
\tkzDefCircle(D,C)
\tkzInterLC(A,B)(C,D) \tkzGetPoint{E}
\tkzDefCircle(D,E)
\tkzInterLC(A,C)(D,E) \tkzGetPoint{F}
\tkzDrawPoints(A,B,...,F)
\end{tikzpicture}
\end{document}

错误是代码没有生成图中的点CD和。有人能帮我解决这个E问题吗?希望也能解决。谢谢!Ftkz-euclide

答案1

这是一个使用tkz-euclide包的解决方案(抱歉,字母与您的示例中的字母不一样,我猜您可以修复它):)

\documentclass{standalone}
\usepackage{tkz-euclide}
\tkzSetUpPoint[size=2,color=black,fill=black]

\begin{document}
    
\begin{tikzpicture}
    \tkzDefPoints{0/0/A,7/0/B,1/2/C,3/-2/D}
    \tkzDefPointBy[rotation=center A angle 16](B)\tkzGetPoint{E}
    \tkzDefPointOnLine[pos=0.27](A,B)\tkzGetPoint{F}\tkzDrawPoints(F)
    \tkzMarkAngle[size=1.2](B,A,E)\tkzLabelAngle[pos=1.45](B,A,E){\scriptsize {$18^\circ$}}
    \tkzInterLC(A,E)(F,A)\tkzGetFirstPoint{G}\tkzDrawPoints(G)
    \tkzInterLC(A,B)(G,F)\tkzGetSecondPoint{H}\tkzDrawPoints(H)
    \tkzInterLC(A,E)(H,G)\tkzGetFirstPoint{I}\tkzDrawPoints(I)
    \tkzInterLC(A,B)(I,H)\tkzGetSecondPoint{J}\tkzDrawPoints(J)
    \tkzDrawSegments(A,B A,E F,G G,H H,I I,J B,J)
    \tkzMarkSegments[mark=|,size=1.2,very thin](A,F F,G G,H H,I I,J)
    \tkzLabelPoints[left](A){A}\tkzDrawPoint[](A)
    \tkzLabelPoints[above](G,I){G,I}
    \tkzLabelPoints(F,H,J){F,H,J}
\end{tikzpicture}
    
\end{document}

输出

相关内容