1

I know its not a full MWE but can anybody explain why I can get the intercept on AC but not on BC

\newcommand{\AB}{0.7}   % A  and B added <<<<<<<<<<<<<<
\newcommand{\C}{1.0}    % C added <<<<<<<<<<<<<<
\newcommand{\Asize}{0.25}   % Angle added <<<<<<<<<<<<<<
\newcommand{\AD}{0.75}
\newcommand{\AG}{1.5}


\begin{diagram}
 \tkzDefPoints{-\AB/0/A,\AB/0/B,0/\C/C}

    \tkzDrawSegment(A,C)
    \tkzDrawSegment(B,C)
    
    \tkzLabelPoints[left](A)
    \tkzLabelPoints[right](B)
    \tkzLabelPoints[above](C)
%Get intercect points 

\tkzDefMidPoint(A,C)     \tkzGetPoint{M}
\tkzDrawCircle(C,M)
\tkzInterLC(C,A)(C,M) \tkzGetPoint{D} \tkzLabelPoints[left](D)
 \tkzInterLC(B,C)(C,M) \tkzGetPoint{E} \tkzLabelPoints[right](E)
\tkzDrawPoints(D,E)
\end{diagram}

enter image description here

2
  • 1
    What are the definitions of \AB, \C and diagram? Dec 2, 2023 at 19:45
  • 1
    Sorry just edited
    – Paul A
    Dec 2, 2023 at 19:55

1 Answer 1

2

You need to use the macro tkzGetPointswith (s) !! line and circle can have two points in common.

\documentclass{standalone} 
\usepackage{tkz-euclide}

\begin{document} 
\begin{tikzpicture}
 \tkzDefPoints{-2/0/A,2/0/B,0/4/C}

    \tkzDrawSegments(A,C B,C)    
    \tkzLabelPoints[left](A)
    \tkzLabelPoints[right](B)
    \tkzLabelPoints[above](C)
%Get intercect points 

\tkzDefMidPoint(A,C)     \tkzGetPoint{M}
\tkzDrawCircle(C,M)
\tkzInterLC(C,A)(C,M) \tkzGetPoints{F}{D}\tkzLabelPoints[left](D)
 \tkzInterLC(B,C)(C,M) \tkzGetPoints{E}{G} \tkzLabelPoints[right](E)
\tkzDrawPoints(D,E)
\tkzDrawPoints(M)
\end{tikzpicture}
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .