Maintenant on étudie la section du tore par un plan passant par l'un des points de bitangence en prenant un angle un peu plus grand ou un peu plus petit par rapport au plan bitangent.
Dans une première étape il faut décommenter (rendre actives) les lignes débutant par %(en supprimant ce signe) et une fois les fichiers enregistrés les rendre inactives comme au départ.
\documentclass{article}
\usepackage[a4paper,margin=2cm]{geometry}
\usepackage[latin1]{inputenc}
\usepackage{bera}
\usepackage[T1]{fontenc}
\usepackage{pst-solides3d}
\title{Sections du tore par un plan \textit{bitangent} : cercles de Villarceau}
\date{Février 2013}
\begin{document}
%\begin{pspicture}(-6,-1)(6,1)
%\psset{viewpoint=50 -45 10 rtp2xyz,Decran=50}
%\pstVerb{/arcsin {
% dup 1 eq {
% 90
% } {
% dup
% dup mul neg 1 add sqrt
% atan
% dup 90 lt
% {}
% {360 sub}
% ifelse
% } ifelse
%} def
% /r_1 3 def
% /r_0 1.5 def
% /Phi 0.5 arcsin def
% /Phi' 90 Phi sub def
% /alpha 65 def
% /ax alpha cos def
% /cz alpha sin def
% /OB {r_1 dup mul r_0 dup mul sub sqrt} bind def
% /xB {OB Phi cos mul neg} bind def
% /zB {OB Phi sin mul} bind def
% /dH {ax xB mul cz zB mul add neg} bind def
% }%
%\psset{solidmemory}
%\psSolid[object=datfile,file=tore2460,
% plansepare={[ax 0 cz dH]},
% name=incline,
% action=none](0,0,0)
%\psSolid[object=load,
% load=incline1,
% file=tore2460Phi65C1,action=writesolid](0,0,0)
%\psSolid[object=load,
% load=incline0,
% file=tore2460Phi65C0,action=writesolid](0,0,0)
%\end{pspicture}
%\newpage
\begin{center}
\psset{unit=0.7}
\begin{pspicture}(-6,-7)(12,4)
\pstVerb{/arcsin {
dup 1 eq {
90
} {
dup
dup mul neg 1 add sqrt
atan
dup 90 lt
{}
{360 sub}
ifelse
} ifelse
} def
/r_1 3 def
/r_0 1.5 def
/Phi 0.5 arcsin def
/Phi' 90 Phi sub def
/alpha 65 def
/ax alpha cos def
/cz alpha sin def
/OB {r_1 dup mul r_0 dup mul sub sqrt} bind def
/xB {OB Phi cos mul neg} bind def
/zB {OB Phi sin mul} bind def
/dH {ax xB mul cz zB mul add neg} bind def
/xO2 7 25 cos mul def
/zO2 7 25 sin mul neg def
}%
\psset{viewpoint=100 -45 10 rtp2xyz,Decran=100}
%\lightsource
\psset{lightsrc=viewpoint}
\psframe[fillstyle=solid,fillcolor=gray!20](-6,-7)(12,4)
\psSolid[object=datfile,file=tore2460Phi65C1,
hollow,
rm=0 1,
intersectiontype=1,
intersectionplan={[ax 0 cz dH 0.01 add]},
intersectionlinewidth=2,
intersectioncolor=(rouge),
linecolor={[cmyk]{1,0,1,0.5}},
fillcolor=green!20,incolor=yellow!30]
\psSolid[object=plan,action=draw,%opacity=0.5,
definition=equation,linecolor=blue,
args={[ax 0 cz dH] 90},
origine=xB 0 zB,
base=-5 5 -12 5,planmarks,showBase]
\psSolid[object=datfile,file=tore2460Phi65C0,
hollow,
rm=0 1,
linecolor={[cmyk]{1,0,1,0.5}},
fillcolor=green!20,incolor=yellow!30](xO2,0,zO2)
\psPoint(xB,0,zB){I}\psdot(I)
\end{pspicture}
\end{center}
%\newpage
%\begin{pspicture}(-6,-1)(6,1)
%\psset{viewpoint=50 -45 10 rtp2xyz,Decran=50}
%\pstVerb{/arcsin {
% dup 1 eq {
% 90
% } {
% dup
% dup mul neg 1 add sqrt
% atan
% dup 90 lt
% {}
% {360 sub}
% ifelse
% } ifelse
%} def
% /r_1 3 def
% /r_0 1.5 def
% /Phi 0.5 arcsin def
% /Phi' 90 Phi sub def
% /alpha 55 def
% /ax alpha cos def
% /cz alpha sin def
% /OB {r_1 dup mul r_0 dup mul sub sqrt} bind def
% /xB {OB Phi cos mul neg} bind def
% /zB {OB Phi sin mul} bind def
% /dH {ax xB mul cz zB mul add neg} bind def
% }%
%\psset{solidmemory}
%\psSolid[object=datfile,file=tore2460,
% plansepare={[ax 0 cz dH]},
% name=incline,
% action=none](0,0,0)
%\psSolid[object=load,
% load=incline1,
% file=tore2460Phi55C1,action=writesolid](0,0,0)
%\psSolid[object=load,
% load=incline0,
% file=tore2460Phi55C0,action=writesolid](0,0,0)
%\end{pspicture}
\begin{center}
\psset{unit=0.7}
\begin{pspicture}(-6,-7)(12,4)
\pstVerb{/arcsin {
dup 1 eq {
90
} {
dup
dup mul neg 1 add sqrt
atan
dup 90 lt
{}
{360 sub}
ifelse
} ifelse
} def
/r_1 3 def
/r_0 1.5 def
/Phi 0.5 arcsin def
/Phi' 90 Phi sub def
/alpha 55 def
/ax alpha cos def
/cz alpha sin def
/OB {r_1 dup mul r_0 dup mul sub sqrt} bind def
/xB {OB Phi cos mul neg} bind def
/zB {OB Phi sin mul} bind def
/dH {ax xB mul cz zB mul add neg} bind def
/xO2 6 35 cos mul def
/zO2 6 35 sin mul neg def
}%
\psset{viewpoint=100 -45 10 rtp2xyz,Decran=100}
%\lightsource
\psset{lightsrc=viewpoint}
\psframe[fillstyle=solid,fillcolor=gray!20](-6,-7)(12,4)
\psSolid[object=datfile,file=tore2460Phi55C1,
hollow,
rm=0 1,
intersectiontype=1,
intersectionplan={[ax 0 cz dH 0.01 add]},
intersectionlinewidth=2,
intersectioncolor=(rouge),
linecolor={[cmyk]{1,0,1,0.5}},
fillcolor=green!20,incolor=yellow!30]
\psSolid[object=plan,action=draw,%opacity=0.5,
definition=equation,linecolor=blue,
args={[ax 0 cz dH] 90},
origine=xB 0 zB,
base=-5 5 -12 5,planmarks,showBase]
\psSolid[object=datfile,file=tore2460Phi55C0,
hollow,
rm=0 1,
linecolor={[cmyk]{1,0,1,0.5}},
fillcolor=green!20,incolor=yellow!30](xO2,0,zO2)
\psPoint(xB,0,zB){I}\psdot(I)
\end{pspicture}
\end{center}
\end{document}
Aucun commentaire:
Enregistrer un commentaire