Retour

ligne_niveau_02.tex

Télécharger le fichier Fichier PDF
Image PNG
\documentclass{article}
\usepackage{pst-solides3d}
\begin{document}
\pagestyle{empty}
 
\begin{center}
\psset{unit=0.75}
\psset{viewpoint=50 -20 30 rtp2xyz,Decran=50}
\begin{pspicture*}(-5,-4)(6,9)
\psSolid[object=cube,
   action=draw*,
   intersectiontype=0,
   intersectionplan={[1 0 .5 2] 1 [1 0 .5 -1]},
   intersectionlinewidth=1 2,
   intersectioncolor=(bleu) (orange) (rouge),
   fillcolor=yellow,
   incolor=red,
   ]
\end{pspicture*}
\end{center}
 
\end{document}