1 \section{Truncate a solid's vertices
}
3 The option
\Lkeyword{trunc
} allows us to
\Index{truncate
} a solid's vertices either
4 globally or individually. This option uses the key
5 \Lkeyword{trunccoeff
} (value $
0.25$ by default) which indicates the ratio
6 $k$ used for the
\Index{truncation
} ($
0<k
\leq 0.5$).
9 \item \texttt{\Lkeyword{trunc
}=
\Lkeyval{all
}} truncates all the vertices;
10 \item \texttt{\Lkeyword{trunc
}=
0 1 2 3} truncates the vertices
0,
1,
2 and
3.
13 \begin{LTXexample
}[width=
6cm
]
14 \psset{viewpoint=
50 50 30 rtp2xyz,Decran=
25,lightsrc=viewpoint
}
15 \begin{pspicture
}(-
3,-
2)(
2,
2)
25 \begin{LTXexample
}[width=
6cm
]
26 \psset{viewpoint=
50 50 30 rtp2xyz,Decran=
25,lightsrc=viewpoint
}
27 \begin{pspicture
}(-
3,-
2)(
2,
2)