I was implementing the following codes (based on tkz-euclide) to generate a figure. The weird thing happens when I define and plot the point E. E is (defined as) the intersection of line AB and line CD. However, it always shows up as an intersection of line CD and circle OA (as shown below). I carefully checked the syntax and it seems ok to me. I was thus left wondering where the bug is. Any help is appreciated!
\documentclass[dvipsnames]{article}
\usepackage{tkz-euclide,tikz}
\begin{document}
\begin{tikzpicture}[scale=0.5]
\tkzDefPoints{0/0/A,8/0/B,6/5/C}
\tkzDrawPoints(A,B,C)
\tkzLabelPoints[above right](C)
\tkzLabelPoints[below left](A)
\tkzLabelPoints[below right](B)
\tkzDrawPolygon[thick](A,B,C)
\tkzDefCircle[circum](A,B,C)
\tkzGetPoint{O}
\tkzDrawCircle[thick, color=black](O,A)
\tkzDefPointBy[rotation in rad= center C angle pi/10](A)
\tkzGetPoint{Y}
\tkzInterLC(C,Y)(O,A)
\tkzGetPoints{Z}{D}
\tkzDrawSegment[thick, black](C,D)
\tkzDrawPoints(D)
\tkzLabelPoints[below left](D)
\tkzInterLL(C,D)(A,B)
\tkzGetPoints(E)
\tkzDrawPoints(E)
\tkzLabelPoints(E)
\end{tikzpicture}
\end{document}
\tkzGetPoints(E)
. This command has to be replaced wiyh the command\tkzGetPoint{E}
, notice the curly brackets! Then it works fine! See my answer below.