1 \section {Solide monoface -- Solide biface
}
3 Le contour de
\texttt{face
} est défini sur le plan $Oxy$ par
4 les coordonnées des sommets placés dans le sens trigonométrique par le
5 paramètre
\texttt{base
} :
7 \psSolid[object=face,base=x1 y1 x2 y2 x3 y3 ...xn yn
](
0,
0,
0)
%
9 \subsection{\texttt{`face'
} triangulaire
}
10 \begin{minipage
}{0.47\linewidth}
12 \psset{viewpoint=
50 -
20 30 rtp2xyz,Decran=
50}
13 \begin{pspicture
}(-
5.5,-
4.5)(
7,
3.5)
14 \psframe(-
5.5,-
4.5)(
7,
3.5)
15 \psSolid[object=grille,base=-
4 6 -
4 4,action=draw,linecolor=gray
](
0,
0,
0)
16 \psSolid[object=face,fillcolor=yellow,action=draw*,
23 \psSolid[object=face,fillcolor=yellow,action=draw*,
30 \axesIIID(
0,
0,
0)(
6,
6,
3)
34 \begin{minipage
}{0.5\linewidth}
38 viewpoint=
50 -
20 30 rtp2xyz,Decran=
50}
39 \begin{pspicture
}(-
6,-
4.5)(
7,
3.5)
40 \psframe(-
6,-
4.5)(
7,
3.5)
42 object=face,fillcolor=yellow,action=draw*,
43 incolor=blue, biface, base=
0 0 3 0 1.5 3
46 object=face,fillcolor=yellow,action=draw*,
47 incolor=blue, base=
0 0 3 0 1.5 3,
48 biface, RotX=
180](
0,-
1,
0)
55 \subsection{\texttt{`face'
} définie par une fonction
}
57 \begin{minipage
}{0.5\linewidth}
59 \psset{viewpoint=
50 -
20 30 rtp2xyz,Decran=
50}
60 \def\BASE{0 10 360{/Angle ED
5 Angle cos dup mul mul
% x
61 3 Angle cos
3 exp Angle sin mul mul
% y
63 \begin{pspicture
}(-
9,-
5.5)(
9,
6)
64 \psframe(-
9,-
5.5)(
9,
6)
65 \defFunction[algebraic
]{F
}(t)
67 {3*(sin(t))*(cos(t))^
3}{}
68 % {t cos dup mul 5 mul}
69 % {t cos 3 exp t sin mul 3 mul}{}
70 \psSolid[object=grille,base=-
6 6 -
6 6,action=draw,linecolor=gray
](
0,
0,
0)
71 \psSolid[object=face,fillcolor=magenta,action=draw*,
74 base=
0 2 pi mul
{F
} CourbeR2+
76 \psSolid[object=face,fillcolor=yellow,action=draw*,
79 base=
0 2 pi mul
{F
} CourbeR2+
](
0,
0,
0)
%
80 \psSolid[object=face,fillcolor=yellow,action=draw*,
83 base=
0 2 pi mul
{F
} CourbeR2+
](
0,
0,
0)
%
84 \psSolid[object=face,fillcolor=yellow,action=draw*,
86 biface,RotY=
180,RotZ=
90,
87 base=
0 2 pi mul
{F
} CourbeR2+
](
0,
0,
0)
%
88 \axesIIID(
0,
0,
0)(
6,
6,
5)
92 \begin{minipage
}{0.45\linewidth}
94 \defFunction[algebraic
]{F
}(t)
96 {3*(sin(t))*(cos(t))^
3}{}
97 base=
0 2 pi mul
{F
} CourbeR2