diff options
author | Karl Berry <karl@freefriends.org> | 2008-08-13 23:54:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-08-13 23:54:43 +0000 |
commit | 7b7e2a0d8e6baf2da37c346a4138e242b9ad75b7 (patch) | |
tree | eee1c93726f3cbf65c38c8ba4c315ea1387187ea /Master/texmf-dist/doc/generic/pst-solides3d/doc-en/par-ligne3D_en_corr.tex | |
parent | 5a99b762b0b4600bb3041ea0191f4806ab866625 (diff) |
pst-solides3d update (13aug08)
git-svn-id: svn://tug.org/texlive/trunk@10319 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-solides3d/doc-en/par-ligne3D_en_corr.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-solides3d/doc-en/par-ligne3D_en_corr.tex | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-solides3d/doc-en/par-ligne3D_en_corr.tex b/Master/texmf-dist/doc/generic/pst-solides3d/doc-en/par-ligne3D_en_corr.tex new file mode 100644 index 00000000000..b39bed99fb8 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-solides3d/doc-en/par-ligne3D_en_corr.tex @@ -0,0 +1,38 @@ +\section{Drawing a line} + +This command is adapted from the macro \verb+\pstThreeDLine+ from the package +\texttt{pst-3dplot} of Herbert \textsc{Voss}% +\footnote{\url{http://tug.ctan.org/tex-archive/graphics/pstricks/contrib/pst-3dplot}.} + +One uses \texttt{\textbackslash psLineIIID[options](x0,y0,z0)(x1,y1,z1)\ldots(xn,yn,zn)}, +with the following possible options: +\begin{itemize} + \item \texttt{linecolor=color}; + \item \texttt{doubleline=true}; + \item \texttt{linearc=value}. +\end{itemize} +It is not possible to put arrowheads at the ends of the lines. + +\begin{LTXexample}[width=6.5cm] +\psset{viewpoint=50 20 30 rtp2xyz,Decran=50} +\begin{pspicture}(-3,-4)(4,4) +\psSolid[object=cube,a=4,action=draw*, + fillcolor=magenta!20]% +\psLineIIID[linecolor=blue, + linewidth=0.1,linearc=0.5, + doubleline=true](-2,-2,-2)(2,2,2)(2,2,-2)(2,-2,0) +\psPoint(2,-2,0){A}\psPoint(-2,-2,-2){B} +\psPoint(2,2,2){C}\psPoint(2,2,-2){D} +\psdot[dotsize=0.2](A)\psdot[dotsize=0.2](B) +\psdot[dotsize=0.2](C)\psdot[dotsize=0.2](D) +\psLineIIID[linecolor=green]% + (-2,-2,-2)(2,2,2)(2,2,-2)(2,-2,0) +\psPolygonIIID[linecolor=red, + fillstyle=vlines,linearc=0.5, + linewidth=0.1](-2,-2,2)(-2,2,2)(2,2,2)(2,-2,2) +\axesIIID(2,2,2)(4,4,4) +\end{pspicture} +\end{LTXexample} + + +\endinput |