summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-solides3d/doc/par-ruban.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-solides3d/doc/par-ruban.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-solides3d/doc/par-ruban.tex51
1 files changed, 27 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-solides3d/doc/par-ruban.tex b/Master/texmf-dist/doc/generic/pst-solides3d/doc/par-ruban.tex
index 401a378c005..d239035041e 100644
--- a/Master/texmf-dist/doc/generic/pst-solides3d/doc/par-ruban.tex
+++ b/Master/texmf-dist/doc/generic/pst-solides3d/doc/par-ruban.tex
@@ -51,12 +51,12 @@ le sens trigonométrique par le paramètre \texttt{base} :
\psset{lightsrc=10 30 10,viewpoint=50 50 20 rtp2xyz,Decran=50}
\begin{pspicture}(-10,-6)(12,8)
\psframe(-10,-6)(12,7)
-\defFunction{F}(t){2 t 4 mul cos mul}{t 20 div}{}
+\defFunction{funcF}(t){2 t 4 mul cos mul}{t 20 div}{}
\psSolid[object=grille,base=-6 6 -10 10,action=draw,linecolor=gray](0,0,0)
\psSolid[object=ruban,h=2,fillcolor=red!50,
- resolution=72,
- base=-200 200 {F} CourbeR2+, %% -200 5 200 {/Angle ED 2 Angle 4 mul cos mul Angle 20 div } for,
- ngrid=4](0,0,0)
+ resolution=72,
+ base=-200 200 {funcF} CourbeR2+, %% -200 5 200 {/Angle ED 2 Angle 4 mul cos mul Angle 20 div } for,
+ ngrid=4](0,0,0)
\axesIIID(5,10,0)(7,11,6)
\end{pspicture}
\end{center}
@@ -66,11 +66,11 @@ le sens trigonométrique par le paramètre \texttt{base} :
\psset{lightsrc=10 30 10,viewpoint=50 50 20 rtp2xyz,Decran=50}
\begin{pspicture}(-10,-5)(12,7)
\psframe(-10,-5)(12,7)
-\defFunction{F}(t){2 t 4 mul cos mul}{t 20 div}{}
+\defFunction{funcF}(t){2 t 4 mul cos mul}{t 20 div}{}
\psSolid[object=grille,base=-6 6 -10 10,action=draw,linecolor=gray](0,0,0)
\psSolid[object=ruban,h=2,fillcolor=red!50,
resolution=72,
- base=-200 200 {F} CourbeR2+,
+ base=-200 200 {funcF} CourbeR2+,
ngrid=4](0,0,0)
\axesIIID(5,10,0)(7,11,6)
\end{pspicture}
@@ -87,11 +87,11 @@ $90^{\mathrm{o}}$ autour de $Oy$.
\psset{lightsrc=10 30 10,viewpoint=50 50 20 rtp2xyz,Decran=30}
\begin{pspicture}(-14,-7)(8,5)
\psframe(-14,-7)(8,5)
-\defFunction{F}(t){t 4 mul cos}{t 20 div}{}
+\defFunction{funcF}(t){t 4 mul cos}{t 20 div}{}
\psSolid[object=grille,base=0 16 -10 10,action=draw,linecolor=gray](0,0,0)
\psSolid[object=ruban,h=16,fillcolor=red!50,RotY=90,incolor=green!20,
resolution=72,
- base=-200 200 {F} CourbeR2+,
+ base=-200 200 {funcF} CourbeR2+,
ngrid=16](0,0,1)
\axesIIID(16,10,0)(20,12,6)
\end{pspicture}
@@ -100,11 +100,11 @@ $90^{\mathrm{o}}$ autour de $Oy$.
\psset{unit=0.6}
\psset{lightsrc=10 30 10,viewpoint=50 50 20 rtp2xyz,Decran=30}
\begin{pspicture}(-14,-7)(8,7)
-\defFunction{F}(t){t 4 mul cos}{t 20 div}{}
+\defFunction{funcF}(t){t 4 mul cos}{t 20 div}{}
\psSolid[object=grille,base=0 16 -10 10,action=draw,linecolor=gray](0,0,0)
\psSolid[object=ruban,h=16,fillcolor=red!50,RotY=90,incolor=green!20,
resolution=72,
- base=-200 200 {F} CourbeR2+,
+ base=-200 200 {funcF} CourbeR2+,
ngrid=16](0,0,1)
\psframe(-14,-7)(8,7)
\axesIIID(16,10,0)(20,12,6)
@@ -139,11 +139,11 @@ sommets sont calculés par la commande \\\verb+\psPoint(x,y,z){P}+
\psPoint(\iB\space cos 3 mul,\iB\space sin 3 mul,0){p\i}
}%
\pspolygon[fillstyle=solid,fillcolor=blue!50](P0)(p0)(P1)(p1)(P2)(p2)(P3)(p3)(P4)(p4)(P5)(p5)
-\defFunction{F}(t){t cos 5 mul}{t sin 5 mul}{}
-\defFunction{G}(t){t 36 add cos 3 mul}{t 36 add sin 3 mul}{}
+\defFunction{funcF}(t){t cos 5 mul}{t sin 5 mul}{}
+\defFunction{funcG}(t){t 36 add cos 3 mul}{t 36 add sin 3 mul}{}
\psSolid[object=grille,base=-6 6 -6 6,action=draw,linecolor=gray](0,0,0)
\psSolid[object=ruban,h=1,fillcolor=red!50,
- base=0 72 360 {/Angle exch def Angle F Angle G} for,
+ base=0 72 360 {/Angle exch def Angle funcF Angle funcG} for,
num=0 1 2 3,
show=0 1 2 3,
ngrid=2](0,0,0)
@@ -159,11 +159,11 @@ sommets sont calculés par la commande \\\verb+\psPoint(x,y,z){P}+
}%
\pspolygon[fillstyle=solid,fillcolor=blue!50]
(P0)(p0)(P1)(p1)(P2)(p2)(P3)(p3)(P4)(p4)(P5)(p5)
-\defFunction{F}(t){t cos 5 mul}{t sin 5 mul}{}
-\defFunction{G}(t){t 36 add cos 3 mul}{t 36 add sin 3 mul}{}
+\defFunction{funcF}(t){t cos 5 mul}{t sin 5 mul}{}
+\defFunction{funcG}(t){t 36 add cos 3 mul}{t 36 add sin 3 mul}{}
\psSolid[object=grille,base=-6 6 -6 6,action=draw,linecolor=gray](0,0,0)
\psSolid[object=ruban,h=1,fillcolor=red!50,
- base=0 72 360 {/Angle exch def Angle F Angle G} for,
+ base=0 72 360 {/Angle exch def Angle funcF Angle funcG} for,
num=0 1 2 3, show=0 1 2 3, ngrid=2](0,0,0)
\axesIIID(5,5,0)(6,6,6)
\end{pspicture}
@@ -179,34 +179,37 @@ Le fond du récipient est défini par l'objet \texttt{face} avec l'option
\psset{lightsrc=10 0 10,viewpoint=50 -20 20 rtp2xyz,Decran=50}
\begin{pspicture}(-9,-4)(9,7)
\psframe(-9,-4)(9,7)
-\defFunction{F}(t){t cos 5 mul}{t sin 5 mul}{}
-\defFunction{G}(t){t 36 add cos 3 mul}{t 36 add sin 3 mul}{}
+\defFunction{funcF}(t){t cos 5 mul}{t sin 5 mul}{}
+\defFunction{funcG}(t){t 36 add cos 3 mul}{t 36 add sin 3 mul}{}
\psSolid[object=face,fillcolor=blue!50,
biface,
- base=0 72 360 {/Angle exch def Angle F Angle G} for,
+ base=0 72 360 {/Angle exch def Angle funcF Angle funcG} for,
](0,0,0)
\psSolid[object=grille,base=-6 6 -6 6,action=draw,linecolor=gray](0,0,0)
\psSolid[object=ruban,h=1,fillcolor=red!50,
- base=0 72 360 {/Angle exch def Angle F Angle G} for,
+ base=0 72 360 {/Angle exch def Angle funcF Angle funcG} for,
ngrid=2](0,0,0)
\axesIIID(5,5,0)(6,6,6)
\end{pspicture}
\end{center}
+
\begin{verbatim}
\psset{lightsrc=10 0 10,viewpoint=50 -20 20 rtp2xyz,Decran=50}
\begin{pspicture}(-9,-4)(9,7)
\psframe(-9,-4)(9,7)
-\defFunction{F}(t){t cos 5 mul}{t sin 5 mul}{}
-\defFunction{G}(t){t 36 add cos 3 mul}{t 36 add sin 3 mul}{}
+\defFunction{funcF}(t){t cos 5 mul}{t sin 5 mul}{}
+\defFunction{funcG}(t){t 36 add cos 3 mul}{t 36 add sin 3 mul}{}
\psSolid[object=face,fillcolor=blue!50,
biface,
- base=0 72 360 {/Angle exch def Angle F Angle G} for,
+ base=0 72 360 {/Angle exch def Angle funcF Angle funcG} for,
](0,0,0)
\psSolid[object=grille,base=-6 6 -6 6,action=draw,linecolor=gray](0,0,0)
\psSolid[object=ruban,h=1,fillcolor=red!50,
- base=0 72 360 {/Angle exch def Angle F Angle G} for,
+ base=0 72 360 {/Angle exch def Angle funcF Angle funcG} for,
ngrid=2](0,0,0)
\axesIIID(5,5,0)(6,6,6)
\end{pspicture}
\end{verbatim}
+
+\endinput