1 \documentclass{article
}
2 \usepackage{pst-solides3d,pst-node,pst-plot,multido,url
}
3 \usepackage[latin1]{inputenc}
4 \usepackage[T1]{fontenc}
7 \usepackage[a4paper,bottom=
2.5cm,top=
2cm
]{geometry
}
8 %%\usepackage[frenchle]{babel}
11 \title{\texttt{pst-solides3d
} :\\
17 \section {Test plan de projection
}
19 \begin{pspicture
}(-
6,-
5)(
6,
8)
%
20 \psframe*
[linecolor=blue!
50](-
6,-
5)(
6,
7)
21 \psset{lightsrc=viewpoint,viewpoint=
50 30 15,Decran=
60}
23 \defFunction[algebraic
]{F1
}(x)
{3*sin(x)
}{}{}
24 %% definition des plans
26 \psSolid[object=plantype,
33 \psSolid[object=plantype,
34 definition=normalpoint,
35 args=
{1 1 2 [1 1 2 180]},
51 %% %% dessin des accessoires" du plan : quadrillage, graduations, base
52 %% \psSolid[object=plan,
53 %% definition=plantype,
57 %% projete d'un chemin circulaire hachure
58 \psProjection[object=chemin,
59 fillstyle=hlines,hatchcolor=yellow,
63 %% projete courbe de fonction numerique
64 \psProjection[object=courbe,
65 range=-
4 4,resolution=
720,
69 \psProjection[object=texte,
70 fontsize=
20,linecolor=red,
73 %% projete et nommage d'un point
74 \psProjection[object=point,
81 %% projete et nommage d'un point
82 \psProjection[object=point,
90 \psProjection[object=point,
97 %% calcul d'un symetrique
98 \psProjection[object=point,
105 \psProjection[object=vecteur,
112 %% point E tel que vect(AE) = U
113 \psProjection[object=point,
114 definition=translatepoint,
121 \psProjection[object=droite,
126 \psProjection[object=droite,
130 %% point F = D1 inter D2
131 \psProjection[object=point,
132 definition=interdroites,
138 %% calcul d'un parallelogramme
139 \psProjection[object=point,
140 definition=parallelopoint,
146 %% dessin d'un polygone
147 \psProjection[object=polygone,
151 \axesIIID(
4,
4,
2)(
5,
5,
6)