3 L'objet \Cadre{line} permet de définir une ligne brisée. Sous sa forme
4 usuelle, on utilise l'argument \verb+args+ pour spécifier la liste des
6 \Cadre{[object=line,args=$A_0$ $A_1$ \ldots $A_n$]}
8 On peut également définir les transformées d'une ligne brisée par une
9 translation, une rotation, une homothétie, etc\dots en reprenant les
10 opérations disponibles sur les polygones.
14 \begin{pspicture}(-3,-3)(4,3.5)%
15 \psframe*[linecolor=blue!50](-3,-3)(4,3.5)
16 \psset{lightsrc=50 20 20,viewpoint=50 30 15,Decran=60}
18 \psSolid[object=grille,
20 linewidth=0.5\pslinewidth,linecolor=gray,]
21 %% definition du plan de projection
25 base=-3.2 3.2 -2.2 2.2,
36 \psProjection[object=line,
40 \psProjection[object=line,
45 %% du code jps dans la definition
46 \psProjection[object=line,
47 definition={2 -2 addv} papply,
52 \axesIIID(4,2,2)(5,4,3)
58 \psProjection[object=line,
61 \psProjection[object=line,
65 %% du code jps dans la definition
66 \psProjection[object=line,
67 definition={2 -2 addv} papply,