summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-solides3d/doc-en/par-pointagesommets_en_corr.tex
blob: fb47f9131944428f2c8502ea41c9362a4149c44c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
\section{Numbering of the vertices}

There is an option that permits the  marking of the vertices (with a black circle) and/or numbers them either globally or individually.
\begin{itemize}
  \item \verb+[show=all]+ marks all the vertices;
  \item \verb+[num=all]+ numbers all the vertices;
  \item \verb+[show=0 1 2 3]+ marks the vertices with the index number 0, 1, 2 and 3;
  \item \verb+[num=0 1 2 3]+ numbers the vertices with the index number 0, 1, 2 and 3.
\end{itemize}
%
\begin{LTXexample}[width=6cm]
\begin{pspicture}(-3,-2.5)(7,2.5)
\psset{viewpoint=50 20 20 rtp2xyz,Decran=40}
\psSolid[
   action=draw,
   object=cube,
   RotZ=30,
   show=all,
   num=all
    ]%
\end{pspicture}
\end{LTXexample}


\begin{LTXexample}[width=6cm]
\begin{pspicture}(-3,-2.5)(7,2.5)
\psset{viewpoint=50 20 20 rtp2xyz,Decran=40}
\psSolid[action=draw,
   object=cube,
   RotZ=30,
   show=0 1 2 3,
   num=0 1 2 3
    ]%
\end{pspicture}
\end{LTXexample}

\endinput