5 下面的intersections为何得到的交点位置不是交点?

发布于 2024-07-25 14:27:40

如图所示,使用name intersections = {of = BC and {circle},by = H}标记的H点位置为何不是交点?
效果如下
image.png

我觉得派不上用场的mwe 👇

\documentclass[margin=2cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{through,intersections}
\begin{document}
\begin{tikzpicture}
    \draw[help lines] (-1,-1) grid (3,3);
    \node (A) at (2,1.5) {$A$};
    \node [draw] at (1,1) [name path = {circle},circle through={(A)}] {$O$};
    \coordinate[label={above:$B$}] (B) at (.5,1);
    \coordinate[label={below:$C$}] (C) at (2,0);
    \path [name path = BC,draw,red] (B) -- (C);
    \path [name intersections = {of = BC and {circle},by = H}] {};
    \node [fill=red,inner sep=1pt,label={below:$H$},circle] (H) {};
    %为什么 H 点的位置在这个奇怪的地方而不是 交点呢?
    %感觉是我弄错了circle through被name path的含义
\end{tikzpicture}
\end{document}

查看更多

关注者
0
被浏览
183
鱼香肉丝没有鱼先生
鱼香肉丝没有鱼先生.

没什么大问题,少了个 at.

% \node [fill=red,inner sep=1pt,label={below:$H$},circle] (H) {};
\node [fill=red,inner sep=1pt,label={below:$H$},circle] at (H) {};
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览