Initialisation du projet pst-solides3d.git (SVN revision 142)
[pst-solides3d.git] / doc-en / .svn / text-base / par-projectionangledroit-en.tex.svn-base
1 \section{Right angle}
2
3 \subsection{Direct definition}
4
5 The object \Lkeyword{rightangle} allows us to specify and draw a
6 \Index{right angle}. The syntax is: \texttt{[object=rightangle,args=$A$
7 $B$ $C$]}
8
9 \begin{LTXexample}[width=7.5cm]
10 \begin{pspicture}(-3,-2.5)(3.5,2.5)%
11 \psframe*[linecolor=blue!50](-3,-2.5)(3.5,2.5)
12 \psset{lightsrc=viewpoint,viewpoint=50 30 15,Decran=40}
13 \psset{solidmemory}
14 %% definition du plan de projection
15 \psSolid[object=plan,
16    definition=equation,
17    args={[1 0 1 0] 90},
18    base=-4 4 -3 3,
19    fillcolor=white,
20    linecolor=gray!30,
21 %   plangrid,
22    planmarks,
23    name=monplan]
24 \psset{plan=monplan,visibility=false}
25 %% definition droite d
26 \psProjection[object=droite,
27    definition=horizontale,
28    args=-1,name=d]
29 \psset{fontsize=15}
30 %% definition du point M
31 \psProjection[object=point,
32    args=-2 1,
33    name=M,text=M,
34    pos=ul]
35 %% definition du point H
36 \psProjection[object=point,
37    definition=orthoproj,
38    args=M d,
39    name=H,text=H,
40    pos=dr]
41 %% definition du point H' pour orienter l'angle droit
42 %% et mettre la legende
43 \psProjection[object=point,
44    definition=xdpoint,
45    args=2 d,name=H',
46    action=none,
47    text=d,pos=ur]
48 %% definition d'une ligne
49 \psProjection[object=line,
50    args=M H]
51 %% dessin angle droit
52 \psProjection[object=rightangle,
53    args=M H H']
54 \composeSolid
55 %\axesIIID(4,4,2)(5,5,6)
56 \end{pspicture}
57 \end{LTXexample}
58
59 \endinput

Licence Creative Commons Les fichiers de Syracuse sont mis à disposition (sauf mention contraire) selon les termes de la
Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.