Debian Codegraph @

texmf-dist/doc/latex/visualpstricks/Source/geom3.tex

raw
1 \SbSbSSCT{Point milieu}{midpoint}
2
3 %\verb \pstMiddleAB %[hpari]{hAi}{hBi}{hIi}
4 \begin{tabular}{|c|c|}\hline
5 \multicolumn{2}{|c|}{ \BSS{pstMiddleAB}[linecolor=red]\AC{A}\AC{B}\AC{C} \BSI{pstMiddleAB}{pst-eucl} }\\ \hline
6 \begin{pspicture}(-.5,-.5)(4,3.5)
7 \psaxes[xticksize=3,yticksize=4,axesstyle=frame](4,3)
8 \pstGeonode(1,2){A}(3,1){B}
9 \pstMiddleAB[linecolor=red]{A}{B}{C}
10 \end{pspicture}
11 &
12 \begin{pspicture}(-.5,-.5)(4,3.5)
13 \psaxes[xticksize=3,yticksize=4,axesstyle=frame](4,3)
14 \pstGeonode(1,2){A}(3,1){B}
15 \pstMiddleAB[CodeFig,CodeFigColor=green]{A}{B}{C}
16 \end{pspicture}
17 \\ \hline
18 [linecolor=red]
19 &
20 [CodeFig,CodeFigColor=green]
21 \\ \hline
22 \end{tabular}
23
24 %\begin{center}
25 %\begin{tabular}{|c|} \hline
26 %\begin{pspicture}(-.5,-.5)(4,3.5)
27 %\psaxes[xticksize=3,yticksize=4,axesstyle=frame](4,3)
28 %\pstGeonode(1,2){A}(3,1){B}
29 %\pstMiddleAB[linecolor=red]{A}{B}{C}
30 %\end{pspicture}
31 %\\ \hline
32 %\BSS{pstMiddleAB}[linecolor=red]\AC{A}\AC{B}\AC{C} \BSI{pstMiddleAB}{pst-eucl} \\ \hline
33 %\end{tabular}
34 %\end{center}
35
36
37
38
39
40 %--------------------
41
42 \SbSbSSCT{Centre de gravité d'un triangle}{Center of gravity of a triangle}
43
44 %\verb \pstCGravABC %[hpari]{hAi}{hBi}{hCi}{hGi}
45
46
47
48 \begin{center}
49 \begin{tabular}{|c|} \hline
50 \begin{pspicture}(-.5,-.5)(5,5.5)
51 \psaxes[ticksize=5,axesstyle=frame](5,5)
52 \pstTriangle(1,2){A}(3,1){B}(4,4){C}
53 \pstCGravABC[linecolor=red]{A}{B}{C}{G}
54 \end{pspicture}
55 \\ \hline
56 \BSS{pstCGravABC}[linecolor=red]\AC{A}\AC{B}\AC{C}\AC{G} \BSI{pstCGravABC}{pst-eucl} \\ \hline
57 \end{tabular}
58 \end{center}
59
60 %----------
61
62 \SbSbSSCT{Centre du cercle circonscrit d'un triangle}{Circumcenter of a triangle}
63
64
65 \begin{tabular}{|c|c|c|}\hline
66 \multicolumn{3}{|c|}{ \BSS{pstCircleABC}\AC{A}\AC{B}\AC{C}\AC{O} \BSI{pstCircleABC}{pst-eucl} }
67 \\ \hline
68 \begin{pspicture}(-.5,-.5)(5,5.5)
69 \psaxes[ticksize=5,axesstyle=frame](5,5)
70 \pstTriangle(1,2){A}(4,1){B}(3,4){C}
71 \pstCircleABC[linecolor=red,linewidth=1pt]{A}{B}{C}{O}
72 \end{pspicture}
73 &
74 \begin{pspicture}(-.5,-.5)(5,5.5)
75 \psaxes[ticksize=5,axesstyle=frame](5,5)
76 \pstTriangle(1,2){A}(4,1){B}(3,4){C}
77 \pstCircleABC[CodeFig,CodeFigColor=red,linewidth=1pt]{A}{B}{C}{O}
78 \end{pspicture}
79 &
80 \begin{pspicture}(-.5,-.5)(5,5.5)
81 \psaxes[ticksize=5,axesstyle=frame](5,5)
82 \pstTriangle(1,2){A}(4,1){B}(3,4){C}
83 \pstCircleABC[CodeFig,CodeFigColor=red,DrawCirABC=false,linewidth=1pt]{A}{B}{C}{O}
84 \end{pspicture}
85 \\ \hline
86 [linecolor=red]
87 &
88 [CodeFig,CodeFigColor=green]
89 &
90 [CodeFig,CodeFigColor=green \\
91 && ,\RDD{DrawCirABC=false} \RDI{DrawCirABC}{pst-eucl}
92 \\ \hline
93 \end{tabular}
94 \bigskip
95
96 \begin{tabular}{|c|c|c|}\hline
97 \multicolumn{3}{|c|}{ \BS{pstCircleABC}[CodeFig,CodeFigColor=red,\RDD{SegmentSymbolA}=MarkCros]\AC{A}\AC{B}\AC{C}\AC{O} \RDI{SegmentSymbolA}{pst-eucl} }
98 \\ \hline
99 \begin{pspicture}(-.5,-.5)(5,5.5)
100 \psaxes[ticksize=5,axesstyle=frame](5,5)
101 \pstTriangle(1,2){A}(4,1){B}(3,4){C}
102 \pstCircleABC[CodeFig,CodeFigColor=red,linewidth=1pt,SegmentSymbolA=MarkCros]{A}{B}{C}{O}
103 \end{pspicture}
104 &
105 \begin{pspicture}(-.5,-.5)(5,5.5)
106 \psaxes[ticksize=5,axesstyle=frame](5,5)
107 \pstTriangle(1,2){A}(4,1){B}(3,4){C}
108 \pstCircleABC[CodeFig,CodeFigColor=red,linewidth=1pt,SegmentSymbolB=MarkCros]{A}{B}{C}{O}
109 \end{pspicture}
110 &
111 \begin{pspicture}(-.5,-.5)(5,5.5)
112 \psaxes[ticksize=5,axesstyle=frame](5,5)
113 \pstTriangle(1,2){A}(4,1){B}(3,4){C}
114 \pstCircleABC[CodeFig,CodeFigColor=red,linewidth=1pt,,SegmentSymbolC=MarkCros]{A}{B}{C}{O}
115 \end{pspicture}
116 \\ \hline
117 \RDD{SegmentSymbolA}=MarkCros \RDI{SegmentSymbolA}{pst-eucl}
118 &
119 \RDD{SegmentSymbolB}=MarkCros \RDI{SegmentSymbolB}{pst-eucl}
120 &
121 \RDD{SegmentSymbolC}=MarkCros \RDI{SegmentSymbolC}{pst-eucl}
122 \\ \hline
123 \end{tabular}
124
125 %
126 %\begin{center}
127 %\begin{tabular}{|c|} \hline
128 %\begin{pspicture}(-.5,-.5)(5,5.5)
129 %\psaxes[ticksize=5,axesstyle=frame](5,5)
130 %\pstTriangle(1,2){A}(4,1){B}(3,4){C}
131 %\pstCircleABC[linecolor=red,linestyle=dashed]{A}{B}{C}{O}
132 %\end{pspicture}\\ \hline
133 %\BSS{pstCircleABC}\AC{A}\AC{B}\AC{C}\AC{O} \BSI{pstCircleABC}{pst-eucl} \\ \hline
134 %\end{tabular}
135 %\end{center}
136
137
138
139
140
141 %------------
142
143 \SbSbSSCT{Perpendiculaire par rapport à une droite}{Perpendicular to a line}
144
145 \begin{tabular}{|c|c|}\hline
146 \multicolumn{2}{|c|}{ \BSS{pstMediatorAB}\AC{A}\AC{B}\AC{C}\AC{D} \BSI{pstMediatorAB}{pst-eucl} }\\ \hline
147 \begin{pspicture}(-.5,-.5)(6,4.5)
148 \psaxes[xticksize=4,yticksize=6,axesstyle=frame](6,4)
149 \pstGeonode[CurveType=polyline](1,2){A}(5,1){B}
150
151 \pstMediatorAB[linecolor=red]{A}{B}{C}{D}
152 \end{pspicture}
153 &
154 \begin{pspicture}(-.5,-.5)(6,4.5)
155 \psaxes[xticksize=4,yticksize=6,axesstyle=frame](6,4)
156 \pstGeonode[CurveType=polyline](1,2){A}(5,1){B}
157
158 \pstMediatorAB[CodeFig,CodeFigColor=red]{A}{B}{C}{D}
159 \end{pspicture}
160 \\ \hline
161 [linecolor=red]
162 &
163 [CodeFig,CodeFigColor=red]
164 \\ \hline
165 \end{tabular}
166 \bigskip
167
168 \begin{tabular}{|c|c|c|}\hline
169 \multicolumn{3}{|c|}{ \BS{pstMediatorAB}[linecolor=red,PointName=none,\RDD{nodesep}=-1]\AC{A}\AC{B}\AC{C}\AC{D} \RDI{nodesep}{pst-eucl} }\\ \hline
170 \begin{pspicture}(-.5,-.5)(5,4.5)
171 \psaxes[xticksize=4,yticksize=4,axesstyle=frame](4,4)
172 \pstGeonode[CurveType=polyline](1,2){A}(3,1){B}
173 \pstMediatorAB[linecolor=red,PointName=none,nodesep=-1]{A}{B}{C}{D}
174 \end{pspicture}
175 &
176 \begin{pspicture}(-.5,-.5)(5,4.5)
177 \psaxes[xticksize=4,yticksize=4,axesstyle=frame](4,4)
178 \pstGeonode[CurveType=polyline](1,2){A}(3,1){B}
179 \pstMediatorAB[linecolor=red,PointName=none,nodesepA=-2]{A}{B}{C}{D}
180 \end{pspicture}
181 &
182 \begin{pspicture}(-.5,-.5)(5,4.5)
183 \psaxes[xticksize=4,yticksize=4,axesstyle=frame](4,4)
184 \pstGeonode[CurveType=polyline](1,2){A}(3,1){B}
185 \pstMediatorAB[linecolor=red,PointName=none,nodesepB=-0.5]{A}{B}{C}{D}
186 \end{pspicture}
187 \\ \hline
188 \RDD{nodesep}=-1 \RDI{nodesep}{pst-eucl} &
189 \RDD{nodesepA}=-2 \RDI{nodesepA}{pst-eucl} &
190 \RDD{nodesepB}=-0.5 \RDI{nodesepA}{pst-eucl}
191 \\ \hline
192 \begin{pspicture}(-.5,-.5)(5,4.5)
193 \psaxes[xticksize=4,yticksize=4,axesstyle=frame](4,4)
194 \pstGeonode[CurveType=polyline](1,2){A}(3,1){B}
195 \pstMediatorAB[linecolor=red,PointName=none,nodesep=0.3]{A}{B}{C}{D}
196 \end{pspicture}
197 &
198 \begin{pspicture}(-.5,-.5)(5,4.5)
199 \psaxes[xticksize=4,yticksize=4,axesstyle=frame](4,4)
200 \pstGeonode[CurveType=polyline](1,2){A}(3,1){B}
201 \pstMediatorAB[linecolor=red,PointName=none,nodesepA=0.3]{A}{B}{C}{D}
202 \end{pspicture}
203 &
204 \begin{pspicture}(-.5,-.5)(5,4.5)
205 \psaxes[xticksize=4,yticksize=4,axesstyle=frame](4,4)
206 \pstGeonode[CurveType=polyline](1,2){A}(3,1){B}
207 \pstMediatorAB[linecolor=red,PointName=none,nodesepB=0.3]{A}{B}{C}{D}
208 \end{pspicture}
209 \\ \hline
210 \RDD{nodesep}=0.3 & \RDD{nodesepA}=0.3 &\RDD{nodesepB}=0.3
211 \\ \hline
212
213 \end{tabular}
214
215
216 %\begin{center}
217 %\begin{tabular}{|c|c|} \hline
218 %\begin{pspicture}(-.5,-.5)(4,3.5)
219 %\psaxes[xticksize=3,yticksize=4,axesstyle=frame](4,3)
220 %\pstGeonode[CurveType=polyline](1,2){A}(3,1){B}
221 %
222 %\pstMediatorAB[linecolor=red]{A}{B}{C}{D}
223 %\end{pspicture}
224 %\\ \hline
225 %\BSS{pstMediatorAB}\AC{A}\AC{B}\AC{C}\AC{D} \BSI{pstMediatorAB}{pst-eucl} \\ \hline
226 %\end{tabular}
227 %\end{center}
228
229 %---------
230
231 \SbSbSSCT{Bissectrice d'un angle}{Bissector}
232 %\verb \pstBissectBAC %[hpari]{hBi}{hAi}{hCi}{hNi}
233 %
234 %\verb \pstOutBissectBAC %[hpari]{hBi}{hAi}{hCi}{hNi}
235
236 \begin{center}
237 \begin{tabular}{|c|c|} \hline
238 \begin{pspicture}(-.5,-1.5)(5.5,3.5)
239 \psaxes[xticksize=4,yticksize=5,axesstyle=frame](0,-1)(5,3)
240 \pstGeonode[CurveType=polyline](1.5,2){A}(3,1){B}(4,2){C}
241 %\pstBissectBAC[linecolor=red]{C}{B}{A}{D}
242 \pstBissectBAC[linecolor=red]{A}{B}{C}{D}
243 \pstCircleOA[linestyle=dotted,linecolor=red]{B}{A}
244 %\pstCircleOA[linestyle=dotted,linecolor=red]{B}{C}
245 \end{pspicture}
246 &
247 \begin{pspicture}(-.5,-1.5)(5.5,3.5)
248 \psaxes[xticksize=4,yticksize=5,axesstyle=frame](0,-1)(5,3)
249 \pstGeonode[CurveType=polyline](1.5,2){A}(3,1){B}(4,2){C}
250 \pstOutBissectBAC[linecolor=red]{A}{B}{C}{D}
251 %\pstOutBissectBAC[linecolor=cyan]{C}{B}{A}{E}
252 \pstCircleOA[linestyle=dotted,linecolor=red]{B}{A}
253 %\pstCircleOA[linestyle=dotted,linecolor=cyan]{B}{C}
254 \end{pspicture}
255 \\ \hline
256 \BSS{pstBissectBAC}\AC{A}\AC{B}\AC{C}\AC{D} \BSI{pstBissectBAC}{pst-eucl} &
257 \BSS{pstOutBissectBAC}\AC{A}\AC{B}\AC{C}\AC{D}
258 \BSI{pstOutBissectBAC}{pst-eucl}
259 %\BS{pstBissectBAC}\AC{A}\AC{B}\AC{C}\AC{E} &
260 %\BS{pstOutBissectBAC}\AC{C}\AC{B}\AC{A}\AC{E}
261 \\ \hline
262 \begin{pspicture}(-.5,-1.5)(5.5,3.5)
263 \psaxes[xticksize=4,yticksize=5,axesstyle=frame](0,-1)(5,3)
264 \pstGeonode[CurveType=polyline](1.5,2){A}(3,1){B}(4,2){C}
265 \pstBissectBAC[linecolor=red]{C}{B}{A}{D}
266 \pstCircleOA[linestyle=dotted,linecolor=red]{B}{C}
267 \end{pspicture}
268 &
269 \begin{pspicture}(-.5,-1.5)(5.5,3.5)
270 \psaxes[xticksize=4,yticksize=5,axesstyle=frame](0,-1)(5,3)
271 \pstGeonode[CurveType=polyline](1.5,2){A}(3,1){B}(4,2){C}
272 \pstOutBissectBAC[linecolor=red]{C}{B}{A}{D}
273 \pstCircleOA[linestyle=dotted,linecolor=cyan]{B}{C}
274 \end{pspicture}
275 \\ \hline
276 \BS{pstBissectBAC}\AC{A}\AC{B}\AC{C}\AC{D} &
277 \BS{pstOutBissectBAC}\AC{C}\AC{B}\AC{A}\AC{D}
278 \\ \hline
279 \end{tabular}
280 \end{center}