预期的目标效果是什么呢?
这个图中的c
是一个node
,圆周是node
的边界,而你代码中:
\coordinate[label=left:$C$](C)at(2,1);
\draw[red](C)circle(2);
\draw(P)--(tangent cs:node=C,point={(P)},solution=1)--(C.center)--cycle;
圆周是一个path
,你用tangent cs
绘制的是对coordinate
点C
的切线,而点是没有半径的,所以重合了...
BTW,下面这些包只有calc
和你的问题有关。
\usetikzlibrary{
% math,
calc,
% intersections,
% through,
% angles,
arrows.meta,
% shapes.geometric,
% shadows,
% quotes,
% spy,
% datavisualization,
% datavisualization.formats.functions,
% plotmarks
}
问 利用tangent绘图系统画切线失败