Does circle through works with 3 points:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{calc,through}
\begin{document}
\begin{tikzpicture}
\coordinate (A) at (1,1);
\coordinate (B) at (2,2);
\coordinate (C) at (3,1.5);
\node[draw,line width=2pt] [circle through={(A)(B)(C)}] {};
\foreach \i in {A,B,C} {
\node[circle,minimum size=1pt,fill=red] at(\i) {};
}
\end{tikzpicture}
\end{document}
I want to draw a circle through A,B and C.
Best Answer
The
tkz-euclide
package has a macro to do this. The manual is written in French.\tkzDefCircle
.\tkzGetPoint{O}
\tkzGetLength{rayon}
.Once this is done, we draw the circle with the macro
\tkzDrawCircle[R](O,\rayon pt)