如何缓存一个常见的变化节点?

如何缓存一个常见的变化节点?

以下 MWE 产生如下所示的输出。

\documentclass[pstricks,12pt]{standalone}
\usepackage{pst-eucl}
\begin{document}
\begin{pspicture}(-1,-2)(8,6)
\psset{linejoin=2,dotsize=2pt,labelsep=3pt,PointNameSep=9pt}
\pstGeonode[PointSymbol={*,*,none},PointName={B,C,none},PosAngle={-110,-60}](0,0){B}(7,0){C}(-1,0){Z}(5,0){Y}
\pstInterCC[PosAngleA=90]{B}{Y}{C}{Z}{A}{M2}
\pspolygon(B)(A)(C)
\pstTriangleIC{A}{B}{C} \uput[-10](IC_O){$I$} \psdot(IC_O)
\pstProjection{A}{B}{IC_O}[P]
\pstProjection{A}{C}{IC_O}[M]
\pstProjection{C}{B}{IC_O}[K]

\psset{PointSymbol=none,PointName=none}
\pstSymO{IC_O}{A,B}[P1,P2]
\pstLineAB{P1}{P2}

\pstInterLC{A}{IC_O}{IC_O}{P}{J1}{J2}
\uput[90](J1){$N$} \psdot(J1)
\pstTranslation{P}{M}{J1}[J3]
\pstInterLL{J1}{J3}{A}{B}{Q1}
\pstInterLL{J1}{J3}{A}{C}{Q2}
\pstTriangleIC{Q1}{Q2}{A} \uput[45](IC_O){$J$} \psdot(IC_O)

\pstInterLL{P1}{P2}{A}{C}{W1}
\pstInterLL{P1}{P2}{B}{C}{W2}
\pstTriangleIC{W1}{W2}{C} \uput[-10](IC_O){$L$} \psdot(IC_O)
\uput[0](4,3){$(l)$}
\end{pspicture}
\end{document}

在此处输入图片描述

三个点IJL,每个点都被 定义为IC_O\pstTriangleIC这意味着IC_OI覆盖,J而 又被 覆盖L。因此,最后一次调用 makesIC_O指的是L。有人能帮我用 画三角形IJLIC_O

答案1

之前的\pnode(IC_O){I}缓存被覆盖 。IIC_OJ

\documentclass[pstricks,12pt]{standalone}
\usepackage{pst-eucl}
\begin{document}
\begin{pspicture}(-1,-2)(8,6)
\psset{linejoin=2,dotsize=2pt,labelsep=3pt,PointNameSep=9pt}
\pstGeonode[PointSymbol={*,*,none},PointName={B,C,none},PosAngle={-110,-60}](0,0){B}(7,0){C}(-1,0){Z}(5,0){Y}
\pstInterCC[PosAngleA=90]{B}{Y}{C}{Z}{A}{M2}
\pspolygon(B)(A)(C)
\pstTriangleIC{A}{B}{C} \uput[-10](IC_O){$I$} \psdot(IC_O)
\pstProjection{A}{B}{IC_O}[P]
\pstProjection{A}{C}{IC_O}[M]
\pstProjection{C}{B}{IC_O}[K]
\pnode(IC_O){I}
\psset{PointSymbol=none,PointName=none}
\pstSymO{IC_O}{A,B}[P1,P2]
\pstLineAB{P1}{P2}
%
\pstInterLC{A}{IC_O}{IC_O}{P}{J1}{J2}
\uput[90](J1){$N$} \psdot(J1)
\pstTranslation{P}{M}{J1}[J3]
\pstInterLL{J1}{J3}{A}{B}{Q1}
\pstInterLL{J1}{J3}{A}{C}{Q2}
\pstTriangleIC{Q1}{Q2}{A} \uput[45](IC_O){$J$} \psdot(IC_O)
\pnode(IC_O){J}
%
\pstInterLL{P1}{P2}{A}{C}{W1}
\pstInterLL{P1}{P2}{B}{C}{W2}
\pstTriangleIC{W1}{W2}{C} \uput[-10](IC_O){$L$} \psdot(IC_O)
\uput[0](4,3){$(l)$}
\pnode(IC_O){L}
\pspolygon(I)(J)(L)
\end{pspicture}
\end{document}

在此处输入图片描述

相关内容