programme de conv unités lun

Commentaires

Transcription

programme de conv unités lun
mode d'emploi - convlun.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
18/10/2018 00:02
<!-- saved from url=(0064)http://diasoluyalu.exactpages.com/myopie/lunettes.html#commencer -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="ROBOTS" content="INDEX,FOLLOW">
<meta content="30 days" name="Revisit-after">
<script type="text/javascript">
setTimeout('location.href="#commencer"',1000);
</script>
<title>Programme-II d'équivalences d'une prescription de lunettes</title>
<meta
<meta
<meta
<meta
http-equiv="Content-Language" content="fr-be">
http-equiv=Content-Type content="text/html; charset=windows-1252">
http-equiv="Page-Enter" Content="RevealTrans(Duration=3,Transition=23)">
http-equiv="Page-Exit" Content="RevealTrans(Duration=3,Transition=23)">
<meta content="programme de Conversion des Unités d'optique médicale|Ophtalmologie"
name="Title">
16 <meta content="Dr. Jean-Baptiste Dadet DIASOLUKA Nzoyifuanga Luyalu" name="Author">
17 <meta content="Programme de conversion des unités optiques dans toutes les combinaisons
possibles." name="Description">
18 <meta
content="adresses,annuaires,assistance,axe,combinaison,conversion,convertir,cyl,cylindre,degré
s,diasoluka,diasoluyalu,engine,entrée,lunettes,mathematique,négatifs,négatives,ophtalmologie,o
ptiques,outils,physique,positifs,positives,prescription,prescrire,programme,recherche,scientif
ique,sortie,sph,sphère,unités,verres,vision,éducatifs,équivalences" name="Keywords">
19
20 <!-21 /* TIRÉ DU PROGRAMME CORROPT.CPP du DR DIASOLUKA
CONVERTIT D'UNE COMBINAISON DE VERRES EN UNE AUTRE.
22
Version C++ :
23
24
18:30
03-Jul_1999 -- 23:33
03-Jul_1999
25
01:22pm 23.07.1999 -- 12:01am 19-Août,1999
26
16:07
18/08/2000 -- 22:58 22/08/2000 -- 04:51am 09-05-2000.
27
28
[DÉBUT DE] CONVERSION EN JAVASCRIPT & RÉVISIONS :
29
8:07 7/03/2003 -- 13:17 7/03/2003 -- 11/08/2007 14:22
30
00:01 18/10/2018 -31 */
32 -->
33
34 <script type="text/javascript">
35 var siteref="http://www.angelfire.lycos.com/ill/lunettes"
36 bgcolm='#9294d3'
37 </script>
38 <script type="text/javascript">ct=0</script>
39 <script>function ftitl(){document.write("<span style='color:#FFFACC'>"+ct++ +".
</span>")}</script>
40 <script>
41 function ard25(v){
42
var r, i=Math.floor(v), f=v-i
43
if(f<0.25)f=0.25
44
else if(f<0.5)f=0.5
45
else if(f<0.75)f=0.75
46
else {i++;f=0}
47
return i+f
48 }//ard25()
49
50 function ftestfill(){
51 var ms=20
52 document.lunettes.sphode.value=(ard25((Math.random()*ms*2)-ms)).toFixed(2)
53 document.lunettes.cylode.value=(ard25((Math.random()*ms)-(ms/2))).toFixed(2)
54 document.lunettes.axeode.value=Math.round(Math.random()*180)
55 document.lunettes.sphoge.value=(ard25((Math.random()*ms*2)-ms)).toFixed(2)
56 document.lunettes.cyloge.value=(ard25((Math.random()*ms)-(ms/2))).toFixed(2)
57 document.lunettes.axeoge.value=Math.round((Math.random()*180))
58 document.lunettes.sphadp.value=document.lunettes.sphagp.value=(ard25(Math.random()*3)).toFixe
d(2)
59 document.lunettes.sphsdpe.value=document.lunettes.sphsgpe.value=document.lunettes.asphsdpe.va
lue=document.lunettes.asphsgpe.value=""
Page 1 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
60
document.lunettes.sphsdps.value=document.lunettes.sphsgps.value=document.lunettes.asphsdps.va
lue=document.lunettes.asphsgps.value=""
61 convert()
62 }//ftestfill()
63 </script>
64
65 <style>
66 input { width=70; font-size:11 }
67 TR { text-align:center }
68 TH { font-size:11; font-family:tahoma,verdana,arial,geneva; border-bottom:1px dashed; }
69 TH.lg { font-size:11; font-family:tahoma,verdana,arial,geneva;background-color:#aeb0cf;
color:#440000;width:170;font-weight:900 }
70 TD { background-color:#2f8a13; color:#c0a798; font-weight:bold }
71 input { color:#0000BB;font-weight:900; text-align:center }
72 a:hover { background:white;color:red }
73 body {text-align:center}
74 .separat{border:medium none solid red 5;background:rose}
75 </style>
76
77 </HEAD>
78
79 <!-- body vlink=#d87496 link=#54cafb bgcolor="#c191c5"
80
onload="getLogTimes('ON'); StatusBarClock()"
81
OnUnLoad="getLogTimes('OFF');diaspage()"-->
82 <body vlink=#d87496 link=#54cafb bgcolor="#c191c5">
83
<!-- onblur=self.focus() -->
84
85 <a name="commencer"></a>
86 <center>
87
88 <table align="center" border="1"><tbody><tr>
89 <td align="center"><a href="http://www.fastonlineusers.com"><script
src="http://fastonlineusers.com/online.php?d=diasoluyalu.exactpages.com/myopie/lunettes.html"
></script> online</a><br></td>
90 <td align="center"><a href="http://www.fastwebcounter.com"><script
src="http://fastwebcounter.com/secure.php?s=diasoluyalu.exactpages.com/myopie/lunettes.html">
</script> hits.</a></td>
91 </tr></tbody></table>
92
93 <p>
94 <font size="5" color="#f4b376">CERINFORMYO / CESTREMYOCO</font><br>
95 Dr. Nz. Luyalu DIASOLUKA J.D.B.<br>00243 ou +243 - [0]<u>15149280</u> , [0]<u>900157204</u> ,
[0]<u>899508675</u> , [0]<u>995624714</u> , [0]<u>851278216</u> , [0]<u>813572818</u><br>
96 <span style="background:navy;color:yellow;padding:0 5"><a
href="mailto:[email protected]">[email protected]</a> ,
97 <a href="mailto:[email protected]">[email protected]</a> ,
98 <a href="mailto:[email protected]">[email protected]</a> ,
99 <a href="mailto:[email protected]">[email protected]</a></span></p><p style="margin-top:
0"><font size="5" color="#f4b376">PRESCRIPTION OPTIQUE - II - CONVERSIONS ENGINE</font><br>
100 Nom: <input value="Nom du malade" style="width:350pt" size="20"><br>
101 <script type="text/javascript">var datej = new Date()
102 document.write("Date : "+datej.toLocaleString()+"<br>")
103 dUpd = new Date(document.lastModified) ;
104 document.write("Last Updated : "+dUpd.toLocaleString()+" = ")
105 ss="";s=(datej-dUpd)/1000,m=s/60,h=m/60,j=h/24,sm=j/7,a=j/365.2475
106 if(a>1){ss=a.toFixed(2)+" Year";if(a>1)ss+="s"}
107 else if(sm>1){ss=sm.toFixed(2)+" Week";if(sm>1)ss+="s"}
108 else if(j>1){ss=j.toFixed(2)+" Day";if(j>1)ss+="s"}
109 else if(h>1){ss=h.toFixed(2)+" Hour";if(h>1)ss+="s"}
110 else if(m>1){ss=m.toFixed(2)+" Minute";if(m>1)ss+="s"}
111 else {ss=s.toFixed(2)+" Seconde";if(s>1)ss+="s"}
112 document.write(ss+" AGO.")
113 </script>
114 </p>
115 </center>
116
117 <hr style="background:blue" size="10">
118 <table><tbody><tr><td colspan="2">
Page 2 of 41
mode d'emploi - convlun.html
119
120
121
122
123
124
125
126
127
18/10/2018 00:02
<p align="center" style="color:#FFDDCB"><span style="font-size: 12.0pt; mso-bidi-font-size:
9.0pt; font-family: System; letter-spacing: 1.0pt;font-weight:normal">
Programme de conversion des unités optiques des lunettes vers TOUTES les
combinaisons possibles. Il suffit simplement de saisir la combinaison de
base pour obtenir instantanément toutes les autres équivalences.<br><br>
Essayez par exemple les combinaisons suivantes:<br>
+0.75(-1)0°
; +1.25(+2)-70°
; -3(-5)350°
; -3.75(+5.25)-140° ;<br>
+5.5(-3.25)175° ; +5(+2.75)-210°
; -5.25(-3.75)90° ; -2.75(+1.25)-90° ;<br>
+1(+1)245°
; +1.75(-1.75)-265° ; -2.0(+2.00)+315° ; -3.25(-3.25)-350° ;<br>
0(+5)-180°
; 0(-3)380°
; -3(0)-385°
; +5(0)420°
;
0(0)-455°</span></p></td></tr></tbody></table>
<hr style="background:blue" size="10">
128
129
130 <form name="lunettes">
131 <table border="1" align="center" style="background:#C00">
132
<tbody><tr><th colspan="12" style="background:#44AA00;color:white;width:150;padding:10"
onclick="ftestfill()">TEST - RANDOM VALUES</th></tr>
133
<tr onclick="javascript:convert()">
134
<th rowspan="2" style="background-color:white;color:red;width:150">Saisissez vos données
dans les cellules</th><th rowspan="5">
135
</th><th colspan="3" style="background:#FFCC66;font:15pt;border-right:solid"><b>OEIL
DROIT</b></th><th rowspan="5" class="separat"></th>
<th colspan="3" style="background:#FFCC66;font:15pt;border-left:solid"><b>OEIL GAUCHE</b>
136
137
</th></tr>
138
139
<tr>
140
<td style="color:#008800;background:#FFCCAA">SPH
141
</td><td style="color:#008800;background:#FFCCAA">CYL
142
</td><td style="color:#008800;background:#FFCCAA;border-right:solid black">AXE °
143
</td><td style="color:#008800;background:#FFCCAA;border-left:solid black">SPH
144
</td><td style="color:#008800;background:#FFCCAA">CYL
145
</td><td style="color:#008800;background:#FFCCAA">AXE °
146
</td></tr>
147
148
<tr bgcolor=#AAAA00 onchange="fonchange()">
149
<td onclick="javascript:convert()">Vision de LOIN
150
</td><td><input name="sphode" id="sphode" style="width:102" size="20">
151
</td><td><input name="cylode" id="cylode" style="width:102" size="20">
152
</td><td><input name="axeode" id="axeode" style="width:50" size="20">
153
</td><td><input name="sphoge" id="sphoge" style="width:102" size="20">
154
</td><td><input name="cyloge" id="cyloge" style="width:102" size="20">
</td><td><input name="axeoge" id="axeoge" style="width:50" size="20">
155
156
</td></tr>
157
158
<tr bgcolor="#AAAA88">
159
<td onclick="javascript:convert()">Add Vision de PRÈS
</td><td><table><tbody><tr>
160
161
<td>
162
<input name="sphadp" style="width:45" onchange="sphagp.value=this.value" size="20"></td>
163
<td style="width:10;color:yellow">=></td>
164
<td><input name="sphodp" style="width:45" readonly size="20"></td>
165
</tr></tbody></table></td>
166
<td><input name="cylodp" readonly style="width:102" size="20">
167
</td><td><input name="axeodp" readonly style="width:50" size="20">
168
169
</td><td><table><tbody><tr>
170
<td><input name="sphagp" style="width:45" onchange="fonchange()" size="20"></td>
171
<td style="width:10;color:yellow">=></td>
172
<td><input name="sphogp" style="width:45" readonly size="20"></td>
173
</tr></tbody></table></td>
174
<td><input name="cylogp" readonly style="width:102" size="20">
175
</td><td><input name="axeogp" readonly style="width:50" size="20">
176
</td></tr>
177
178
<tr bgcolor="#AACC88">
<td onclick="javascript:convert()">Add V.P avec PFC
179
</td><td><table><tbody><tr>
180
<td><input name="sphadp2" style="width:45" onchange="sphagp.value=this.value"
181
Page 3 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
size="20"></td>
182
<td style="width:10;color:yellow">=></td>
183
<td><input name="sphodp2" style="width:45" readonly size="20"></td>
184
</tr></tbody></table></td>
185
<td><input name="cylodp2" readonly style="width:102" size="20">
186
</td><td><input name="axeodp2" readonly style="width:50" size="20">
187
</td><td><table><tbody><tr>
188
189
<td><input name="sphagp2" style="width:45" size="20"></td>
190
<td style="width:10;color:yellow">=></td>
191
<td><input name="sphogp2" style="width:45" readonly size="20"></td>
192
</tr></tbody></table></td>
193
<td><input name="cylogp2" readonly style="width:102" size="20">
194
</td><td><input name="axeogp2" readonly style="width:50" size="20">
195
</td></tr></tbody></table>
196
197 <table align="center" style="border:groove 5 red"><tbody><tr bgcolor="#AACC88"
onclick="javascript:convert()">
198 <th colspan="10" style="font-size:18">DIOPTRIES V.P. FINALES SOUHAITÉES</th></tr>
199 <tr onclick="javascript:convert()"><th>&nbsp;</th><th rowspan="5"></th><th
style="background:#ACB">DIOPTR SOUHAITÉES DTE</th><th style="background:#ACB">&nbsp;</th><th
style="background:#ACB">ADD V.P. DTE</th><th rowspan="3"></th><th
style="background:#ACB">DIOPTR SOUHAITÉES GCHE</th><th style="background:#ACB">&nbsp;</th><th
style="background:#ACB">ADD V.P. GCHE</th></tr>
200 <tr onclick="javascript:convert()"><th>Selon <b>ENTRÉE</b></th><td><input name="sphsdpe"
style="width:100%" onchange="sphsgpe.value=eval(this.value)+eval(sphoge.value-sphode.value)"
size="20"></td><td rowspan="2" style="color:yellow"> => </td><td><input name="asphsdpe"
style="width:100%;background:#DACC9B;font-weight:900;border:2px solid blue; " readonly
size="20"></td><td><input name="sphsgpe" style="width:100%"
onchange="sphsdpe.value=eval(this.value)+eval(sphode.value-sphoge.value)" size="20"></td><td
rowspan="3" style="color:yellow"> => </td><td><input name="asphsgpe"
style="width:100%;background:#DACC9B;font-weight:900;border:2px solid blue; " readonly
size="20"></td>
201 </tr><tr onclick="javascript:convert()"><th>Selon <b>SORTIE</b></th><td><input name="sphsdps"
style="width:100%" onchange="sphsgps.value=eval(this.value)+eval(sphoge1.value-sphode1.value)"
size="20"></td><td><input name="asphsdps"
style="width:100%;background:#DACC9B;font-weight:900;border:2px solid blue; " readonly
size="20"></td><td><input name="sphsgps" style="width:100%"
onchange="sphsdps.value=eval(this.value)+eval(sphode1.value-sphoge1.value)"
size="20"></td><td><input name="asphsgps"
style="width:100%;background:#DACC9B;font-weight:900;border:2px solid blue; " readonly
size="20"></td>
202 </tr></tbody></table>
203
204
<!--div onclick="javascript:convert()" style="background:&quot;#9294d3&quot;"><marquee
behavior="alternate"
style="margin-left:180;margin-right:180;background-color:'#9294d3';color:white;font-size=17;
font-family:tahoma,arial,geneva,verdana">pour CONVERTIR , cliquez ici</marquee></div-->
205
<script>document.write("<div style=background:'#9294d3' onclick='java:convert()'><marquee
id='mlancez' behavior='alternate' style='padding:0
35;letter-spacing:0;margin-left:180;margin-right:180;background-color:red;color:white;font-s
ize:17;font-weight:900;font-family:tahoma,arial,geneva,verdana'>LANCEZ LA CONVERSION EN
CLIQUANT ICI</marquee></div>")</script>
206
207
<table border="1" align="center" onclick="javascript:convert()">
208
<tbody><tr style="background-color:#4d8365">
209
<th>LATÉRALITÉ</th>
210
<td colspan="3">OEIL DROIT
211
</td><td colspan="3">OEIL GAUCHE
212
</td></tr>
213
<tr style="background-color:#4d8365">
214
<th>VERRES</th>
215
<td>SPHÈRE D
216
</td><td>CYLINDRE D
217
</td><td style="width:60">AXE D
218
</td><td>SPHÈRE G
219
</td><td>CYLINDRE G
220
Page 4 of 41
mode d'emploi - convlun.html
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
18/10/2018 00:02
</td><td style="width:60">AXE G
</tr>
<tr>
<th style="background-color:#005;color:yellow" class="lg"><script>ftitl()</script>Valeurs à
l'entrée (E)</th>
<td style="background-color:#4d8365"><input type="text" name="sphode0" size="20" readOnly>
<td style="background-color:#4d8365"><input type="text" name="cylode0" style="width:102"
size="20" readOnly>
<td style="background-color:#4d8365;width:63""><input type="text" name="axeode0"
style="width:59" size="20" readOnly>
<td style="background-color:#4d8365"><input type="text" name="sphoge0" size="20" readOnly>
<td style="background-color:#4d8365"><input type="text" name="cyloge0" style="width:102"
size="20" readOnly>
<td style="background-color:#4d8365;width:63"><input type="text" name="axeoge0"
style="width:59" size="20" readOnly>
</tr>
<tr>
<th style="background-color:yellow;color:#005"
onclick="javascript:convert()"><script>ftitl()</script>Inversion signe Cyl (S)
<td style="background-color:#2d6345"><input type="text" name="sphode1" size="20" readOnly>
<td style="background-color:#2d6345"><input type="text" name="cylode1" size="20" readOnly>
<td style="background-color:#2d6345;width:63"><input type="text" name="axeode1"
style="width:59" readOnly>
<td style="background-color:#2d6345"><input type="text" name="sphoge1" size="20" readOnly>
<td style="background-color:#2d6345"><input type="text" name="cyloge1" size="20" readOnly>
<td style="background-color:#2d6345;width:63"><input type="text" name="axeoge1"
style="width:59" readOnly>
</tr>
<tr>
<th style="background-color:yellow;color:#005"
onclick="javascript:convert()"><script>ftitl()</script>En 2 Cyls croisés
<td style="background-color:#2d6345;color:#418eec" ><input type="text" name="sphode15"
size="20" readOnly>
<td style="background-color:#2d6345;color:#418eec" ><input type="text" name="cylode15"
size="20" readOnly>
<td style="background-color:#2d6345;color:#418eec;width:63" ><input type="text"
name="axeode15" style="width:59" readOnly>
<td style="background-color:#2d6345;color:#418eec" ><input type="text" name="sphoge15"
size="20" readOnly>
<td style="background-color:#2d6345;color:#418eec" ><input type="text" name="cyloge15"
size="20" readOnly>
<td style="background-color:#2d6345;color:#418eec;width:63" ><input type="text"
name="axeoge15" style="width:59" readOnly>
</tr></table>
254
255
256
257
<font face="Albertus Medium">
258
259 <hr>
260 <center><div onclick="javascript:convert()" style="padding:25
0;width:500;font-size=17;letter-spacing:7;font-weight:900;background:#FFEE11;color:#0A0">AUTR
ES COMBINAISONS<br><span style='letter-spacing:1'>Vos combinaisons sont les
bienvenues</span></br></div></center></font>
261
262
<table><tbody><tr>
263
<th class="lg" style="width:150"> Type de Combo
264
</th><td><input readonly type="text" value="SPH" style="width:120" size="20">
265
</td><td><input readonly type="text" value="CYL" size="20">
266
</td><td><input readonly type="text" value="AXE" size="20">
267
</td><td><input readonly type="text" value="SPH" style="width:120" size="20">
268
</td><td><input readonly type="text" value="CYL" size="20">
269
</td><td><input readonly type="text" value="AXE" size="20">
270
Page 5 of 41
mode d'emploi - convlun.html
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
18/10/2018 00:02
</td></tr>
<tr>
<th><script>ftitl()</script>Cylindre
</th><td><input readonly type="text"
</td><td><input readonly type="text"
</td><td><input readonly type="text"
Positif
name="sphode2" size="20">
name="cylode2" size="20">
name="axeode2" size="20">
</td><td><input readonly type="text" name="sphoge2" size="20">
</td><td><input readonly type="text" name="cyloge2" size="20">
</td><td><input readonly type="text" name="axeoge2" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Cylindre
</th><td><input readonly type="text"
</td><td><input readonly type="text"
</td><td><input readonly type="text"
Négatif
name="sphode3" size="20">
name="cylode3" size="20">
name="axeode3" size="20">
</td><td><input readonly type="text" name="sphoge3" size="20">
</td><td><input readonly type="text" name="cyloge3" size="20">
</td><td><input readonly type="text" name="axeoge3" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Cylindre
</th><td><input readonly type="text"
</td><td><input readonly type="text"
</td><td><input readonly type="text"
NUL=0
name="sphode4" size="20">
name="cylode4" size="20">
name="axeode4" size="20">
</td><td><input readonly type="text" name="sphoge4" size="20">
</td><td><input readonly type="text" name="cyloge4" size="20">
</td><td><input readonly type="text" name="axeoge4" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Sph Positive
</th><td><input readonly type="text" name="sphode5pos" size="20">
</td><td><input readonly type="text" name="cylode5pos" size="20">
</td><td><input readonly type="text" name="axeode5pos" size="20">
</td><td><input readonly type="text" name="sphoge5pos" size="20">
</td><td><input readonly type="text" name="cyloge5pos" size="20">
</td><td><input readonly type="text" name="axeoge5pos" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Sph Négative
</th><td><input readonly type="text" name="sphode5neg" size="20">
</td><td><input readonly type="text" name="cylode5neg" size="20">
</td><td><input readonly type="text" name="axeode5neg" size="20">
</td><td><input readonly type="text" name="sphoge5neg" size="20">
</td><td><input readonly type="text" name="cyloge5neg" size="20">
</td><td><input readonly type="text" name="axeoge5neg" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>PLUS Puissante Sph Nég
</th><td><input readonly type="text" name="sphode5" size="20">
</td><td><input readonly type="text" name="cylode5" size="20">
</td><td><input readonly type="text" name="axeode5" size="20">
</td><td><input readonly type="text" name="sphoge5" size="20">
</td><td><input readonly type="text" name="cyloge5" size="20">
</td><td><input readonly type="text" name="axeoge5" size="20">
</td></tr>
Page 6 of 41
mode d'emploi - convlun.html
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
18/10/2018 00:02
<tr>
<th><script>ftitl()</script>MOINS Puissante Sph Nég
</th><td><input readonly type="text" name="sphode6" size="20">
</td><td><input readonly type="text" name="cylode6" size="20">
</td><td><input readonly type="text" name="axeode6" size="20">
</td><td><input readonly type="text" name="sphoge6" size="20">
</td><td><input readonly type="text" name="cyloge6" size="20">
</td><td><input readonly type="text" name="axeoge6" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>PLUS Puissante Sph Pos
</th><td><input readonly type="text" name="sphode7" size="20">
</td><td><input readonly type="text" name="cylode7" size="20">
</td><td><input readonly type="text" name="axeode7" size="20">
</td><td><input readonly type="text" name="sphoge7" size="20">
</td><td><input readonly type="text" name="cyloge7" size="20">
</td><td><input readonly type="text" name="axeoge7" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>MOINS Puissante Sph Pos
</th><td><input readonly type="text" name="sphode8" size="20">
</td><td><input readonly type="text" name="cylode8" size="20">
</td><td><input readonly type="text" name="axeode8" size="20">
</td><td><input readonly type="text" name="sphoge8" size="20">
</td><td><input readonly type="text" name="cyloge8" size="20">
</td><td><input readonly type="text" name="axeoge8" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Sphère Nulle=0
</th><td><input readonly type="text" name="sphode9" size="20">
</td><td><input readonly type="text" name="cylode9" size="20">
</td><td><input readonly type="text" name="axeode9" size="20">
</td><td><input readonly type="text" name="sphoge9" size="20">
</td><td><input readonly type="text" name="cyloge9" size="20">
</td><td><input readonly type="text" name="axeoge9" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Angle equ 0°
</th><td><input readonly type="text" name="sphode10" size="20">
</td><td><input readonly type="text" name="cylode10" size="20">
</td><td><input readonly type="text" name="axeode10" size="20">
</td><td><input readonly type="text" name="sphoge10" size="20">
</td><td><input readonly type="text" name="cyloge10" size="20">
</td><td><input readonly type="text" name="axeoge10" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Angle equ 90°
</th><td><input readonly type="text" name="sphode11" size="20">
</td><td><input readonly type="text" name="cylode11" size="20">
</td><td><input readonly type="text" name="axeode11" size="20">
</td><td><input readonly type="text" name="sphoge11" size="20">
</td><td><input readonly type="text" name="cyloge11" size="20">
</td><td><input readonly type="text" name="axeoge11" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Angle diff 90° et diff 0°
Page 7 of 41
mode d'emploi - convlun.html
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
18/10/2018 00:02
</th><td><input readonly type="text" name="sphode11b" size="20">
</td><td><input readonly type="text" name="cylode11b" size="20">
</td><td><input readonly type="text" name="axeode11b" size="20">
</td><td><input readonly type="text" name="sphoge11b" size="20">
</td><td><input readonly type="text" name="cyloge11b" size="20">
</td><td><input readonly type="text" name="axeoge11b" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Angle inf à 90°
</th><td><input readonly type="text" name="sphode12" size="20">
</td><td><input readonly type="text" name="cylode12" size="20">
</td><td><input readonly type="text" name="axeode12" size="20">
</td><td><input readonly type="text" name="sphoge12" size="20">
</td><td><input readonly type="text" name="cyloge12" size="20">
</td><td><input readonly type="text" name="axeoge12" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Angle sup à 90°
</th><td><input readonly type="text" name="sphode13" size="20">
</td><td><input readonly type="text" name="cylode13" size="20">
</td><td><input readonly type="text" name="axeode13" size="20">
</td><td><input readonly type="text" name="sphoge13" size="20">
</td><td><input readonly type="text" name="cyloge13" size="20">
</td><td><input readonly type="text" name="axeoge13" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Plus faible Combo abs
</th><td><input readonly type="text" name="sphode14" size="20">
</td><td><input readonly type="text" name="cylode14" size="20">
</td><td><input readonly type="text" name="axeode14" size="20">
</td><td><input readonly type="text" name="sphoge14" size="20">
</td><td><input readonly type="text" name="cyloge14" size="20">
</td><td><input readonly type="text" name="axeoge14" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Plus fble Résultante alg
</th><td><input readonly type="text" name="sphode16" size="20">
</td><td><input readonly type="text" name="cylode16" size="20">
</td><td><input readonly type="text" name="axeode16" size="20">
</td><td><input readonly type="text" name="sphoge16" size="20">
</td><td><input readonly type="text" name="cyloge16" size="20">
</td><td><input readonly type="text" name="axeoge16" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Les 2 compos mm signe
</th><td><input readonly type="text" name="sphode17" size="20">
</td><td><input readonly type="text" name="cylode17" size="20">
</td><td><input readonly type="text" name="axeode17" size="20">
</td><td><input readonly type="text" name="sphoge17" size="20">
</td><td><input readonly type="text" name="cyloge17" size="20">
</td><td><input readonly type="text" name="axeoge17" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Sph+ / Cyl</th><td><input readonly type="text" name="sphode17a" size="20">
</td><td><input readonly type="text" name="cylode17a" size="20">
Page 8 of 41
mode d'emploi - convlun.html
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
18/10/2018 00:02
</td><td><input readonly type="text" name="axeode17a" size="20">
</td><td><input readonly type="text" name="sphoge17a" size="20">
</td><td><input readonly type="text" name="cyloge17a" size="20">
</td><td><input readonly type="text" name="axeoge17a" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Sph- / Cyl+
</th><td><input readonly type="text" name="sphode17b" size="20">
</td><td><input readonly type="text" name="cylode17b" size="20">
</td><td><input readonly type="text" name="axeode17b" size="20">
</td><td><input readonly type="text" name="sphoge17b" size="20">
</td><td><input readonly type="text" name="cyloge17b" size="20">
</td><td><input readonly type="text" name="axeoge17b" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Sph abssup à Cyl
</th><td><input readonly type="text" name="sphode18" size="20">
</td><td><input readonly type="text" name="cylode18" size="20">
</td><td><input readonly type="text" name="axeode18" size="20">
</td><td><input readonly type="text" name="sphoge18" size="20">
</td><td><input readonly type="text" name="cyloge18" size="20">
</td><td><input readonly type="text" name="axeoge18" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Sph absequ Cyl
</th><td><input readonly type="text" name="sphode19" size="20">
</td><td><input readonly type="text" name="cylode19" size="20">
</td><td><input readonly type="text" name="axeode19" size="20">
</td><td><input readonly type="text" name="sphoge19" size="20">
</td><td><input readonly type="text" name="cyloge19" size="20">
</td><td><input readonly type="text" name="axeoge19" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Cyl abssup à Sph
</th><td><input readonly type="text" name="sphode20" size="20">
</td><td><input readonly type="text" name="cylode20" size="20">
</td><td><input readonly type="text" name="axeode20" size="20">
</td><td><input readonly type="text" name="sphoge20" size="20">
</td><td><input readonly type="text" name="cyloge20" size="20">
</td><td><input readonly type="text" name="axeoge20" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Sph relsup à Cyl
</th><td><input readonly type="text" name="sphode21" size="20">
</td><td><input readonly type="text" name="cylode21" size="20">
</td><td><input readonly type="text" name="axeode21" size="20">
</td><td><input readonly type="text" name="sphoge21" size="20">
</td><td><input readonly type="text" name="cyloge21" size="20">
</td><td><input readonly type="text" name="axeoge21" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Sph relequ Cyl
</th><td><input readonly type="text" name="sphode22" size="20">
</td><td><input readonly type="text" name="cylode22" size="20">
</td><td><input readonly type="text" name="axeode22" size="20">
Page 9 of 41
mode d'emploi - convlun.html
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
18/10/2018 00:02
</td><td><input readonly type="text" name="sphoge22" size="20">
</td><td><input readonly type="text" name="cyloge22" size="20">
</td><td><input readonly type="text" name="axeoge22" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>+/-Sph relequ -/+Cyl
</th><td><input readonly type="text" name="sphode22a" size="20">
</td><td><input readonly type="text" name="cylode22a" size="20">
</td><td><input readonly type="text" name="axeode22a" size="20">
</td><td><input readonly type="text" name="sphoge22a" size="20">
</td><td><input readonly type="text" name="cyloge22a" size="20">
</td><td><input readonly type="text" name="axeoge22a" size="20">
</td></tr>
<tr>
<th><script>ftitl()</script>Cyl relsup à Sph
</th><td><input readonly type="text" name="sphode23" size="20">
</td><td><input readonly type="text" name="cylode23" size="20">
</td><td><input readonly type="text" name="axeode23" size="20">
</td><td><input readonly type="text" name="sphoge23" size="20">
</td><td><input readonly type="text" name="cyloge23" size="20">
</td><td><input readonly type="text" name="axeoge23" size="20">
</td></tr>
<tr>
<TH><script>ftitl()</script>+/-|Cyl|
<TD><input type=text name="sphode24"
<TD><input type=text name="cylode24"
<TD><input type=text name="axeode24"
inf -/+|Sph|
size="20" readOnly>
size="20" readOnly>
size="20" readOnly>
<TD><input type=text name="sphoge24" size="20" readOnly>
<TD><input type=text name="cyloge24" size="20" readOnly>
<TD><input type=text name="axeoge24" size="20" readOnly>
</TR>
<tr>
<TH><script>ftitl()</script>+/-|Cyl| sup -/+|Sph|
<TD><input type=text name="sphode24b" size="20" readOnly>
<TD><input type=text name="cylode24b" size="20" readOnly>
<TD><input type=text name="axeode24b" size="20" readOnly>
<TD><input type=text name="sphoge24b" size="20" readOnly>
<TD><input type=text name="cyloge24b" size="20" readOnly>
<TD><input type=text name="axeoge24b" size="20" readOnly>
</TR>
<tr>
<TH><script>ftitl()</script>CylAbs inf SphAbs ^m signe
<TD><input type=text name="sphode25" size="20" readOnly>
<TD><input type=text name="cylode25" size="20" readOnly>
<TD><input type=text name="axeode25" size="20" readOnly>
<TD><input type=text name="sphoge25" size="20" readOnly>
<TD><input type=text name="cyloge25" size="20" readOnly>
<TD><input type=text name="axeoge25" size="20" readOnly>
</TR>
<tr>
<TH><script>ftitl()</script>CylAbs sup SphAbs ^m signe
<TD><input type=text name="sphode25b" size="20" readOnly>
<TD><input type=text name="cylode25b" size="20" readOnly>
<TD><input type=text name="axeode25b" size="20" readOnly>
<TD><input type=text name="sphoge25b" size="20" readOnly>
<TD><input type=text name="cyloge25b" size="20" readOnly>
Page 10 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
611
<TD><input type=text name="axeoge25b" size="20" readOnly>
612
</TR>
613
614 </tbody></table>
615 </form>
616
617
618 <script type="text/javascript" language="JavaScript">
619 function fonchange() {
620 mlancez.style.color="white";mlancez.style.letterSpacing=0;mlancez.style.backgroundColor="red"
;mlancez.innerHTML="<b>LANCEZ LES CONVERSIONS EN CLIQUANT ICI</b>"
621 }
622
623 function convert() {
624 mlancez.style.color="yellow";mlancez.style.letterSpacing=3;mlancez.style.backgroundColor=bgco
lm;mlancez.innerHTML="<b>CONVERSIONS TERMINÉES</b>"
625 if(document.lunettes.cylode.value==0) document.lunettes.axeode.value=""
626 if(document.lunettes.cyloge.value==0) document.lunettes.axeoge.value=""
627
628 if(document.lunettes.sphode.value=="") sphode = 0;else var sphode =
eval(document.lunettes.sphode.value)
629 if(document.lunettes.sphoge.value=="") sphoge = 0; else var sphoge =
eval(document.lunettes.sphoge.value)
630 if(document.lunettes.cylode.value=="") cylode = 0; else var cylode =
eval(document.lunettes.cylode.value)
631 if(document.lunettes.cyloge.value=="") cyloge = 0; else var cyloge =
eval(document.lunettes.cyloge.value)
632 var axeode = Math.floor(document.lunettes.axeode.value) % 180; if(axeode < 0) axeode=
axeode+180
633 var axeoge = Math.floor(document.lunettes.axeoge.value) % 180; if(axeoge < 0) axeoge=
axeoge+180
634
635 var sphods = sphode + cylode;
636 var sphogs = sphoge + cyloge;
637 var cylods = -cylode;
638 var cylogs = -cyloge;
639 var axeods = (axeode + 90) % 180;
640 var axeogs = (axeoge + 90) % 180;
641
642 axeode_s = axeode + "°"
643 axeods_s = axeods + "°"
644 axeoge_s = axeoge + "°"
645 axeogs_s = axeogs + "°"
646
647 <!-- Correction de près -->
648
649 document.lunettes.sphodp.value = document.lunettes.sphogp.value =
document.lunettes.axeodp.value = document.lunettes.axeogp.value = ""
650
651 sphsdpe=eval(document.lunettes.sphsdpe.value)
652 sphsgpe=eval(document.lunettes.sphsgpe.value)
653 sphsdps=eval(document.lunettes.sphsdps.value)
654 sphsgps=eval(document.lunettes.sphsgps.value)
655
656 if(typeof sphsdpe=="number")document.lunettes.asphsdpe.value = sphsdpe-sphode
657 if(typeof sphsdps=="number")document.lunettes.asphsdps.value = sphsdps-sphods
658 if(typeof sphsgpe=="number")document.lunettes.asphsgpe.value = sphsgpe-sphoge
659 if(typeof sphsgps=="number")document.lunettes.asphsgps.value = sphsgps-sphogs
660
661 adpd=eval(document.lunettes.sphadp.value)
662 if(adpd>0) {
663
if(sphode) document.lunettes.sphodp.value = sphode + adpd
664
else {
665
document.lunettes.sphadp.value = ""
666
document.lunettes.sphodp.value = adpd
}
667
if(document.lunettes.sphodp.value>0)
668
document.lunettes.sphodp.value="+"+document.lunettes.sphodp.value
Page 11 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
669
670
if(cylods) {
671
document.lunettes.cylodp.value = cylode
672
document.lunettes.axeodp.value = axeode_s
673
}
674
else {
675
document.lunettes.cylodp.value = ""
676
document.lunettes.axeodp.value = ""
677
}
678 }
679 else {
680
document.lunettes.sphodp.value = document.lunettes.cylodp.value = ""
681 }
682
683 adpg=eval(document.lunettes.sphagp.value)
684 if(adpg>0) {
685
if(sphoge) document.lunettes.sphogp.value = sphoge + adpg
686
else {
687
document.lunettes.sphagp.value = ""
688
document.lunettes.sphogp.value = adpg
689
}
690
if(document.lunettes.sphogp.value>0)
document.lunettes.sphogp.value="+"+document.lunettes.sphogp.value
691
692
if(cylogs) {
693
document.lunettes.cylogp.value = cyloge
694
document.lunettes.axeogp.value = axeoge_s
695
}
696
else {
697
document.lunettes.cylogp.value = ""
698
document.lunettes.axeogp.value = ""
699
}
700 }
701 else {
702
document.lunettes.sphogp.value = document.lunettes.cylogp.value = ""
703 }
704
705 <!-- Équivalence à l'entrée -->
706
707 document.lunettes.sphode0.value = sphode
708 if(cylods) {
document.lunettes.cylode0.value = cylode
709
710
document.lunettes.axeode0.value = axeode_s
711 }
712 else {
713
document.lunettes.cylode0.value = ""
document.lunettes.axeode0.value = ""
714
715 }
716
717 document.lunettes.sphoge0.value = sphoge
718 if(cylogs) {
719
document.lunettes.cyloge0.value = cyloge
720
document.lunettes.axeoge0.value = axeoge_s
721 }
722 else {
723
document.lunettes.cyloge0.value = ""
724
document.lunettes.axeoge0.value = ""
725 }
726
727 <!-- Inversion du signe du cylindre (1ère combo) -->
728
729 if(cylods) {
730
document.lunettes.sphode1.value = sphods
731
document.lunettes.cylode1.value = cylods
732
document.lunettes.axeode1.value = axeods_s
733 }
734 else {
document.lunettes.sphode1.value = sphode
735
Page 12 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
736
document.lunettes.cylode1.value =
737
document.lunettes.axeode1.value =
738 }
739
740 if(cylogs) {
741
document.lunettes.sphoge1.value =
742
document.lunettes.cyloge1.value =
743
document.lunettes.axeoge1.value =
744 }
745 else {
746
document.lunettes.sphoge1.value =
747
document.lunettes.cyloge1.value =
748
document.lunettes.axeoge1.value =
749 }
750
751 <!-- En Deux Cylindres croisés -->
752
753 document.lunettes.axeode15.value =
754
755 axe = (axeode + 90) % 180
756 document.lunettes.sphode15.value =
757
758 axe = axeode
759 var tmp = cylode + sphode
760 document.lunettes.cylode15.value =
761
762 document.lunettes.axeoge15.value =
763
764 axe = (axeoge + 90) % 180
765 document.lunettes.sphoge15.value =
766
767 axe = axeoge
768 var tmp = cyloge + sphoge
769 document.lunettes.cyloge15.value =
770
771 <!-- Cylindres positifs -->
772
773 if(cylode > 0) {
774
document.lunettes.sphode2.value =
775
document.lunettes.cylode2.value =
776
document.lunettes.axeode2.value =
777 }
778 else if(cylods > 0) {
779
document.lunettes.sphode2.value =
780
document.lunettes.cylode2.value =
781
document.lunettes.axeode2.value =
782 }
783 else {
784
document.lunettes.sphode2.value =
785
document.lunettes.cylode2.value =
786
document.lunettes.axeode2.value =
787 }
788
789 if(cyloge > 0) {
790
document.lunettes.sphoge2.value =
791
document.lunettes.cyloge2.value =
792
document.lunettes.axeoge2.value =
793 }
794 else if(cylogs > 0) {
795
document.lunettes.sphoge2.value =
796
document.lunettes.cyloge2.value =
797
document.lunettes.axeoge2.value =
798 }
799 else {
800
document.lunettes.sphoge2.value =
document.lunettes.cyloge2.value =
801
document.lunettes.axeoge2.value =
802
803 }
""
""
sphogs
cylogs
axeogs_s
sphoge
""
""
"<====="
"( " + sphode + " ) " + axe + "°"
"( " + tmp + " ) " + axe + "°"
"<====="
"( " + sphoge + " ) " + axe + "°"
"( " + tmp + " ) " + axe + "°"
sphode + " (E)"
cylode + " (E)"
axeode_s + " (E)"
sphods + " (S)"
cylods + " (S)"
axeods_s + " (S)"
""
""
""
sphoge + " (E)"
cyloge + " (E)"
axeoge_s + " (E)"
sphogs + " (S)"
cylogs + " (S)"
axeogs_s + " (S)"
""
""
""
Page 13 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
804
805 <!-- Cylindres négatifs -->
806
807 if(cylode < 0) {
808
document.lunettes.sphode3.value = sphode + " (E)"
809
document.lunettes.cylode3.value = cylode + " (E)"
810
document.lunettes.axeode3.value = axeode_s + " (E)"
811 }
812 else if(cylods < 0) {
813
document.lunettes.sphode3.value = sphods + " (S)"
814
document.lunettes.cylode3.value = cylods + " (S)"
815
document.lunettes.axeode3.value = axeods_s + " (S)"
816 }
817 else {
818
document.lunettes.sphode3.value = ""
819
document.lunettes.cylode3.value = ""
820
document.lunettes.axeode3.value = ""
821 }
822
823 if(cyloge < 0) {
824
document.lunettes.sphoge3.value = sphoge + " (E)"
825
document.lunettes.cyloge3.value = cyloge + " (E)"
document.lunettes.axeoge3.value = axeoge_s + " (E)"
826
827 }
828 else if(cylogs < 0) {
829
document.lunettes.sphoge3.value = sphogs + " (S)"
830
document.lunettes.cyloge3.value = cylogs + " (S)"
831
document.lunettes.axeoge3.value = axeogs_s + " (S)"
832 }
833 else {
834
document.lunettes.sphoge3.value = ""
835
document.lunettes.cyloge3.value = ""
836
document.lunettes.axeoge3.value = ""
837 }
838
839 <!-- Cylindres nuls -->
840
841 document.lunettes.sphode4.value = ""
842 document.lunettes.cylode4.value = ""
843 document.lunettes.axeode4.value = ""
844
845 if(!cylode) {
846
document.lunettes.sphode4.value = sphode + " (E)"
847
document.lunettes.cylode4.value = cylode + " (E)"
848
document.lunettes.axeode4.value = axeode_s + " (E)"
849 }
850
851 document.lunettes.sphoge4.value = ""
852 document.lunettes.cyloge4.value = ""
853 document.lunettes.axeoge4.value = ""
854
855 if(!cyloge) {
856
document.lunettes.sphoge4.value = sphoge + " (E)"
857
document.lunettes.cyloge4.value = cyloge + " (E)"
858
document.lunettes.axeoge4.value = axeoge_s + " (E)"
859 }
860
861 <!-- SPHER POSITIVE -->
862
863 document.lunettes.sphode5pos.value = ""
864 document.lunettes.cylode5pos.value = ""
865 document.lunettes.axeode5pos.value = ""
866
867 if(sphode > 0) {
868
document.lunettes.sphode5pos.value = sphode + " (E)"
document.lunettes.cylode5pos.value = cylode + " (E)"
869
document.lunettes.axeode5pos.value = axeode_s + " (E)"
870
871 }
Page 14 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
872 else if(sphods > 0) {
873
document.lunettes.sphode5pos.value = sphods + " (S)"
874
document.lunettes.cylode5pos.value = cylods + " (S)"
875
document.lunettes.axeode5pos.value = axeods_s + " (S)"
876 }
877
878 document.lunettes.sphoge5pos.value = ""
879 document.lunettes.cyloge5pos.value = ""
880 document.lunettes.axeoge5pos.value = ""
881
882 if(sphoge > 0) {
883
document.lunettes.sphoge5pos.value = sphogs + " (S)"
884
document.lunettes.cyloge5pos.value = cylogs + " (S)"
885
document.lunettes.axeoge5pos.value = axeogs_s + " (S)"
886 }
887 else if(sphogs > 0) {
888
document.lunettes.sphoge5pos.value = sphogs + " (S)"
889
document.lunettes.cyloge5pos.value = cylogs + " (S)"
890
document.lunettes.axeoge5pos.value = axeogs_s + " (S)"
891 }
892
893 <!-- SPHER NEGATIVE -->
894
895 document.lunettes.sphode5neg.value = ""
896 document.lunettes.cylode5neg.value = ""
897 document.lunettes.axeode5neg.value = ""
898
899 if(sphode < 0) {
900
document.lunettes.sphode5neg.value = sphode + " (E)"
901
document.lunettes.cylode5neg.value = cylode + " (E)"
902
document.lunettes.axeode5neg.value = axeode_s + " (E)"
903 }
904 else if(sphods < 0) {
905
document.lunettes.sphode5neg.value = sphods + " (S)"
906
document.lunettes.cylode5neg.value = cylods + " (S)"
907
document.lunettes.axeode5neg.value = axeods_s + " (S)"
908 }
909
910 document.lunettes.sphoge5neg.value = ""
911 document.lunettes.cyloge5neg.value = ""
912 document.lunettes.axeoge5neg.value = ""
913
914 if(sphoge < 0) {
915
document.lunettes.sphoge5neg.value = sphoge + " (E)"
916
document.lunettes.cyloge5neg.value = cyloge + " (E)"
917
document.lunettes.axeoge5neg.value = axeoge_s + " (E)"
918 }
919 else if(sphogs < 0) {
920
document.lunettes.sphoge5neg.value = sphogs + " (S)"
921
document.lunettes.cyloge5neg.value = cylogs + " (S)"
922
document.lunettes.axeoge5neg.value = axeogs_s + " (S)"
923 }
924
925 <!-- PLUS PUISST SPHER NÉGATIVE -->
926
927 document.lunettes.sphode5.value = ""
928 document.lunettes.cylode5.value = ""
929 document.lunettes.axeode5.value = ""
930
931 if(sphode < 0) {
932
if(sphode <= sphods) {
933
document.lunettes.sphode5.value = sphode + " (E)"
934
if(cylode) {
935
document.lunettes.cylode5.value = cylode + " (E)"
936
document.lunettes.axeode5.value = axeode_s + " (E)"
}
937
}
938
else if(sphods < 0) {
939
Page 15 of 41
mode d'emploi - convlun.html
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
18/10/2018 00:02
document.lunettes.sphode5.value = sphods + " (S)"
if(cylode) {
document.lunettes.cylode5.value = cylods + " (S)"
document.lunettes.axeode5.value = axeods_s + " (S)"
}
}
else {
document.lunettes.sphode5.value = sphode + " (E)"
if(cylode) {
document.lunettes.cylode5.value = cylode + " (E)"
document.lunettes.axeode5.value = axeode_s + " (E)"
}
}
}
else
if(sphods < 0) {
if(sphods < sphode) {
document.lunettes.sphode5.value = sphods + " (S)"
document.lunettes.cylode5.value = cylods + " (S)"
document.lunettes.axeode5.value = axeods_s + " (S)"
}
else if (sphode < 0){
document.lunettes.sphode5.value = sphode + " (E)"
if(cylode) {
document.lunettes.cylode5.value = cylode + " (E)"
document.lunettes.axeode5.value = axeode_s + " (E)"
}
}
else {
document.lunettes.sphode5.value = sphods + " (S)"
if(cylode) {
document.lunettes.cylode5.value = cylods + " (S)"
document.lunettes.axeode5.value = axeods_s + " (S)"
}
}
}
document.lunettes.sphoge5.value = ""
document.lunettes.cyloge5.value = ""
document.lunettes.axeoge5.value = ""
if(sphoge < 0) {
if(sphoge <= sphogs) {
document.lunettes.sphoge5.value = sphoge + " (E)"
if(cyloge) {
document.lunettes.cyloge5.value = cyloge + " (E)"
document.lunettes.axeoge5.value = axeoge_s + " (E)"
}
}
else if(sphogs < 0) {
document.lunettes.sphoge5.value = sphogs + " (S)"
if(cyloge) {
document.lunettes.cyloge5.value = cylogs + " (S)"
document.lunettes.axeoge5.value = axeogs_s + " (S)"
}
}
else {
document.lunettes.sphoge5.value = sphoge + " (E)"
if(cyloge) {
document.lunettes.cyloge5.value = cyloge + " (E)"
document.lunettes.axeoge5.value = axeoge_s + " (E)"
}
}
}
else
if(sphogs < 0) {
if(sphogs < sphoge) {
document.lunettes.sphoge5.value = sphogs + " (S)"
Page 16 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
1008
document.lunettes.cyloge5.value = cylogs + " (S)"
1009
document.lunettes.axeoge5.value = axeogs_s + " (S)"
1010
}
1011
else if (sphoge < 0){
1012
document.lunettes.sphoge5.value = sphoge + " (E)"
1013
if(cyloge) {
1014
document.lunettes.cyloge5.value = cyloge + " (E)"
1015
document.lunettes.axeoge5.value = axeoge_s + " (E)"
1016
}
1017
}
1018
else {
1019
document.lunettes.sphoge5.value = sphogs + " (S)"
1020
if(cyloge) {
1021
document.lunettes.cyloge5.value = cylogs + " (S)"
1022
document.lunettes.axeoge5.value = axeogs_s + " (S)"
1023
}
1024
}
1025 }
1026
1027
1028 <!-- MOINS PUISST SPHER NÉGATIVE -->
1029
1030 document.lunettes.sphode6.value = ""
1031 document.lunettes.cylode6.value = ""
1032 document.lunettes.axeode6.value = ""
1033
1034 if(sphode < 0) {
1035
if(sphode >= sphods) {
1036
document.lunettes.sphode6.value = sphode + " (E)"
1037
document.lunettes.cylode6.value = cylode + " (E)"
1038
document.lunettes.axeode6.value = axeode_s + " (E)"
1039
}
1040
else if(sphods < 0) {
1041
document.lunettes.sphode6.value = sphods + " (S)"
1042
document.lunettes.cylode6.value = cylods + " (S)"
1043
document.lunettes.axeode6.value = axeods_s + " (S)"
1044
}
1045
else {
1046
document.lunettes.sphode6.value = sphode + " (E)"
1047
document.lunettes.cylode6.value = cylode + " (E)"
1048
document.lunettes.axeode6.value = axeode_s + " (E)"
}
1049
1050 }
1051 else if(sphods < 0) {
1052
document.lunettes.sphode6.value = sphods + " (S)"
1053
document.lunettes.cylode6.value = cylods + " (S)"
document.lunettes.axeode6.value = axeods_s + " (S)"
1054
1055 }
1056
1057 document.lunettes.sphoge6.value = ""
1058 document.lunettes.cyloge6.value = ""
1059 document.lunettes.axeoge6.value = ""
1060
1061 if(sphoge < 0) {
1062
if(sphoge >= sphogs) {
1063
document.lunettes.sphoge6.value = sphoge + " (E)"
1064
document.lunettes.cyloge6.value = cyloge + " (E)"
1065
document.lunettes.axeoge6.value = axeoge_s + " (E)"
1066
}
1067
else if(sphogs < 0) {
1068
document.lunettes.sphoge6.value = sphogs + " (S)"
1069
document.lunettes.cyloge6.value = cylogs + " (S)"
1070
document.lunettes.axeoge6.value = axeogs_s + " (S)"
1071
}
1072
else {
document.lunettes.sphoge6.value = sphoge + " (E)"
1073
document.lunettes.cyloge6.value = cyloge + " (E)"
1074
document.lunettes.axeoge6.value = axeoge_s + " (E)"
1075
Page 17 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
1076
}
1077 }
1078 else if(sphogs < 0) {
1079
document.lunettes.sphoge6.value = sphogs + " (S)"
1080
document.lunettes.cyloge6.value = cylogs + " (S)"
1081
document.lunettes.axeoge6.value = axeogs_s + " (S)"
1082 }
1083
1084 <!-- PLUS PUISST SPHER POSITIF -->
1085
1086 document.lunettes.sphode7.value = ""
1087 document.lunettes.cylode7.value = ""
1088 document.lunettes.axeode7.value = ""
1089
1090 if(sphode > 0) {
1091
if(sphode >= sphods) {
1092
document.lunettes.sphode7.value = sphode + " (E)"
1093
document.lunettes.cylode7.value = cylode + " (E)"
1094
document.lunettes.axeode7.value = axeode_s + " (E)"
1095
}
1096
else if(sphods > 0) {
1097
document.lunettes.sphode7.value = sphods + " (S)"
document.lunettes.cylode7.value = cylods + " (S)"
1098
1099
document.lunettes.axeode7.value = axeods_s + " (S)"
1100
}
1101 }
1102 else if(sphods > 0) {
1103
document.lunettes.sphode7.value = sphods + " (S)"
1104
document.lunettes.cylode7.value = cylods + " (S)"
1105
document.lunettes.axeode7.value = axeods_s + " (S)"
1106 }
1107
1108 document.lunettes.sphoge7.value = ""
1109 document.lunettes.cyloge7.value = ""
1110 document.lunettes.axeoge7.value = ""
1111
1112 if(sphoge > 0) {
1113
if(sphoge >= sphogs) {
1114
document.lunettes.sphoge7.value = sphoge + " (E)"
1115
document.lunettes.cyloge7.value = cyloge + " (E)"
1116
document.lunettes.axeoge7.value = axeoge_s + " (E)"
}
1117
1118
else if(sphogs > 0) {
1119
document.lunettes.sphoge7.value = sphogs + " (S)"
1120
document.lunettes.cyloge7.value = cylogs + " (S)"
1121
document.lunettes.axeoge7.value = axeogs_s + " (S)"
}
1122
1123 }
1124 else if(sphogs > 0) {
1125
document.lunettes.sphoge7.value = sphogs + " (S)"
1126
document.lunettes.cyloge7.value = cylogs + " (S)"
1127
document.lunettes.axeoge7.value = axeogs_s + " (S)"
1128 }
1129
1130 <!-- MOINS PUISST SPHER POSITIF -->
1131
1132 document.lunettes.sphode8.value = ""
1133 document.lunettes.cylode8.value = ""
1134 document.lunettes.axeode8.value = ""
1135
1136 if(sphode > 0) {
1137
if(sphode <= sphods) {
1138
document.lunettes.sphode8.value = sphode + " (E)"
1139
document.lunettes.cylode8.value = cylode + " (E)"
1140
document.lunettes.axeode8.value = axeode_s + " (E)"
}
1141
else if(sphods > 0) {
1142
document.lunettes.sphode8.value = sphods + " (S)"
1143
Page 18 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
1144
document.lunettes.cylode8.value = cylods + " (S)"
1145
document.lunettes.axeode8.value = axeods_s + " (S)"
1146
}
1147
else {
1148
document.lunettes.sphode8.value = sphode + " (E)"
1149
document.lunettes.cylode8.value = cylode + " (E)"
1150
document.lunettes.axeode8.value = axeode_s + " (E)"
1151
}
1152 }
1153 else if(sphods > 0) {
1154
document.lunettes.sphode8.value = sphods + " (S)"
1155
document.lunettes.cylode8.value = cylods + " (S)"
1156
document.lunettes.axeode8.value = axeods_s + " (S)"
1157 }
1158
1159 document.lunettes.sphoge8.value = ""
1160 document.lunettes.cyloge8.value = ""
1161 document.lunettes.axeoge8.value = ""
1162
1163 if(sphoge > 0) {
1164
if(sphoge <= sphogs) {
1165
document.lunettes.sphoge8.value = sphoge + " (E)"
document.lunettes.cyloge8.value = cyloge + " (E)"
1166
1167
document.lunettes.axeoge8.value = axeoge_s + " (E)"
1168
}
1169
else if(sphogs > 0) {
1170
document.lunettes.sphoge8.value = sphogs + " (S)"
1171
document.lunettes.cyloge8.value = cylogs + " (S)"
1172
document.lunettes.axeoge8.value = axeogs_s + " (S)"
1173
}
1174
else {
1175
document.lunettes.sphoge8.value = sphoge + " (E)"
1176
document.lunettes.cyloge8.value = cyloge + " (E)"
1177
document.lunettes.axeoge8.value = axeoge_s + " (E)"
1178
}
1179 }
1180 else if(sphogs > 0) {
1181
document.lunettes.sphoge8.value = sphogs + " (S)"
1182
document.lunettes.cyloge8.value = cylogs + " (S)"
1183
document.lunettes.axeoge8.value = axeogs_s + " (S)"
1184 }
1185
1186 <!-- Sphères nulles -->
1187
1188 document.lunettes.sphode9.value = ""
1189 document.lunettes.cylode9.value = ""
1190 document.lunettes.axeode9.value = ""
1191
1192 if(!sphode) {
1193
document.lunettes.sphode9.value = sphode + " (E)"
1194
document.lunettes.cylode9.value = cylode + " (E)"
1195
document.lunettes.axeode9.value = axeode_s + " (E)"
1196 }
1197 else if(!sphods) {
1198
document.lunettes.sphode9.value = sphods + " (S)"
1199
document.lunettes.cylode9.value = cylods + " (S)"
1200
document.lunettes.axeode9.value = axeods_s + " (S)"
1201 }
1202
1203 document.lunettes.sphoge9.value = ""
1204 document.lunettes.cyloge9.value = ""
1205 document.lunettes.axeoge9.value = ""
1206
1207 if(!sphoge) {
1208
document.lunettes.sphoge9.value = sphoge + " (E)"
document.lunettes.cyloge9.value = cyloge + " (E)"
1209
document.lunettes.axeoge9.value = axeoge_s + " (E)"
1210
1211 }
Page 19 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
1212 else if(!sphogs) {
1213
document.lunettes.sphoge9.value = sphogs + " (S)"
1214
document.lunettes.cyloge9.value = cylogs + " (S)"
1215
document.lunettes.axeoge9.value = axeogs_s + " (S)"
1216 }
1217
1218 <!-- Angle equ 0° -->
1219
1220 document.lunettes.sphode10.value = ""
1221 document.lunettes.cylode10.value = ""
1222 document.lunettes.axeode10.value = ""
1223
1224 if(axeode == 0) {
1225
document.lunettes.sphode10.value = sphode + " (E)"
1226
document.lunettes.cylode10.value = cylode + " (E)"
1227
document.lunettes.axeode10.value = axeode_s + " (E)"
1228 }
1229 else if(axeods == 0) {
1230
document.lunettes.sphode10.value = sphods + " (S)"
1231
document.lunettes.cylode10.value = cylods + " (S)"
1232
document.lunettes.axeode10.value = axeods_s + " (S)"
1233 }
1234
1235 document.lunettes.sphoge10.value = ""
1236 document.lunettes.cyloge10.value = ""
1237 document.lunettes.axeoge10.value = ""
1238
1239 if(axeoge == 0) {
1240
document.lunettes.sphoge10.value = sphoge + " (E)"
1241
document.lunettes.cyloge10.value = cyloge + " (E)"
1242
document.lunettes.axeoge10.value = axeoge_s + " (E)"
1243 }
1244 else if(axeogs == 0) {
1245
document.lunettes.sphoge10.value = sphogs + " (S)"
1246
document.lunettes.cyloge10.value = cylogs + " (S)"
1247
document.lunettes.axeoge10.value = axeogs_s + " (S)"
1248 }
1249
1250 <!-- Angle equ 90° -->
1251
1252 document.lunettes.sphode11.value = ""
1253 document.lunettes.cylode11.value = ""
1254 document.lunettes.axeode11.value = ""
1255
1256 if(axeode == 90) {
1257
document.lunettes.sphode11.value = sphode + " (E)"
document.lunettes.cylode11.value = cylode + " (E)"
1258
1259
document.lunettes.axeode11.value = axeode_s + " (E)"
1260 }
1261 else if(axeods == 90) {
1262
document.lunettes.sphode11.value = sphods + " (S)"
1263
document.lunettes.cylode11.value = cylods + " (S)"
1264
document.lunettes.axeode11.value = axeods_s + " (S)"
1265 }
1266
1267 document.lunettes.sphoge11.value = ""
1268 document.lunettes.cyloge11.value = ""
1269 document.lunettes.axeoge11.value = ""
1270
1271 if(axeode == 90) {
1272
document.lunettes.sphoge11.value = sphoge + " (E)"
1273
document.lunettes.cyloge11.value = cyloge + " (E)"
1274
document.lunettes.axeoge11.value = axeoge_s + " (E)"
1275 }
1276 else if(axeoge == 90) {
document.lunettes.sphoge11.value = sphogs + " (S)"
1277
document.lunettes.cyloge11.value = cylogs + " (S)"
1278
document.lunettes.axeoge11.value = axeogs_s + " (S)"
1279
Page 20 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
1280 }
1281
1282 <!-- Angle diff 90° et diff 0° -->
1283
1284 document.lunettes.sphode11b.value = ""
1285 document.lunettes.cylode11b.value = ""
1286 document.lunettes.axeode11b.value = ""
1287
1288 if((axeode != 90) && axeode) {
1289
document.lunettes.sphode11b.value = sphode + " (E)"
1290
document.lunettes.cylode11b.value = cylode + " (E)"
1291
document.lunettes.axeode11b.value = axeode_s + " (E)"
1292 }
1293 else if((axeods != 90) && axeods) {
1294
document.lunettes.sphode11b.value = sphods + " (S)"
1295
document.lunettes.cylode11b.value = cylods + " (S)"
1296
document.lunettes.axeode11b.value = axeods_s + " (S)"
1297 }
1298
1299 document.lunettes.sphoge11b.value = ""
1300 document.lunettes.cyloge11b.value = ""
1301 document.lunettes.axeoge11b.value = ""
1302
1303 if((axeoge != 90) && axeoge) {
1304
document.lunettes.sphoge11b.value = sphoge + " (E)"
1305
document.lunettes.cyloge11b.value = cyloge + " (E)"
1306
document.lunettes.axeoge11b.value = axeoge_s + " (E)"
1307 }
1308 else if((axeogs != 90) && axeogs) {
1309
document.lunettes.sphoge11b.value = sphogs + " (S)"
1310
document.lunettes.cyloge11b.value = cylogs + " (S)"
1311
document.lunettes.axeoge11b.value = axeogs_s + " (S)"
1312 }
1313
1314 <!-- Angle inf 90° -->
1315
1316 document.lunettes.sphode12.value = ""
1317 document.lunettes.cylode12.value = ""
1318 document.lunettes.axeode12.value = ""
1319
1320 if(axeode < 90) {
document.lunettes.sphode12.value = sphode + " (E)"
1321
1322
document.lunettes.cylode12.value = cylode + " (E)"
1323
document.lunettes.axeode12.value = axeode_s + " (E)"
1324 }
1325 else if(axeods < 90) {
document.lunettes.sphode12.value = sphods + " (S)"
1326
1327
document.lunettes.cylode12.value = cylods + " (S)"
1328
document.lunettes.axeode12.value = axeods_s + " (S)"
1329 }
1330
1331 document.lunettes.sphoge12.value = ""
1332 document.lunettes.cyloge12.value = ""
1333 document.lunettes.axeoge12.value = ""
1334
1335 if(axeoge < 90) {
1336
document.lunettes.sphoge12.value = sphoge + " (E)"
1337
document.lunettes.cyloge12.value = cyloge + " (E)"
1338
document.lunettes.axeoge12.value = axeoge_s + " (E)"
1339 }
1340 else if(axeogs < 90) {
1341
document.lunettes.sphoge12.value = sphogs + " (S)"
1342
document.lunettes.cyloge12.value = cylogs + " (S)"
1343
document.lunettes.axeoge12.value = axeogs_s + " (S)"
1344 }
1345
1346 <!-- Angle sup à 90° -->
1347
Page 21 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
1348 document.lunettes.sphode13.value = ""
1349 document.lunettes.cylode13.value = ""
1350 document.lunettes.axeode13.value = ""
1351
1352 if(axeode > 90) {
1353
document.lunettes.sphode13.value = sphode + " (E)"
1354
document.lunettes.cylode13.value = cylode + " (E)"
1355
document.lunettes.axeode13.value = axeode_s + " (E)"
1356 }
1357 else if(axeods > 90) {
1358
document.lunettes.sphode13.value = sphods + " (S)"
1359
document.lunettes.cylode13.value = cylods + " (S)"
1360
document.lunettes.axeode13.value = axeods_s + " (S)"
1361 }
1362
1363 document.lunettes.sphoge13.value = ""
1364 document.lunettes.cyloge13.value = ""
1365 document.lunettes.axeoge13.value = ""
1366
1367 if(axeoge > 90) {
1368
document.lunettes.sphoge13.value = sphoge + " (E)"
1369
document.lunettes.cyloge13.value = cyloge + " (E)"
document.lunettes.axeoge13.value = axeoge_s + " (E)"
1370
1371 }
1372 else if(axeogs > 90) {
1373
document.lunettes.sphoge13.value = sphogs + " (S)"
1374
document.lunettes.cyloge13.value = cylogs + " (S)"
1375
document.lunettes.axeoge13.value = axeogs_s + " (S)"
1376 }
1377
1378 <!-- Plus faible Combinaison -->
1379
1380 document.lunettes.sphode14.value = ""
1381 document.lunettes.cylode14.value = ""
1382 document.lunettes.axeode14.value = ""
1383
1384 if(Math.abs(sphode)+Math.abs(cylode) <= Math.abs(sphods)+Math.abs(cylods)) {
1385
document.lunettes.sphode14.value = sphode + " (E)"
1386
document.lunettes.cylode14.value = cylode + " (E) = " +
eval(Math.abs(sphode)+Math.abs(cylode)) +"/"+eval(Math.abs(sphods)+Math.abs(cylods))
1387
document.lunettes.axeode14.value = axeode_s + " (E)"
document.lunettes.sphodp2.value = sphode + adpd
1388
1389
document.lunettes.cylodp2.value = cylode
1390
document.lunettes.axeodp2.value = axeode_s
1391
document.lunettes.sphadp2.value = "(E)"
1392 }
1393 else {
1394
document.lunettes.sphode14.value = sphods + " (S)"
1395
document.lunettes.cylode14.value = cylods + " (S) = " +
eval(Math.abs(sphods)+Math.abs(cylods)) +"/"+eval(Math.abs(sphode)+Math.abs(cylode))
1396
document.lunettes.axeode14.value = axeods_s + " (S)"
1397
document.lunettes.sphodp2.value = sphods + adpd
1398
document.lunettes.cylodp2.value = cylods
1399
document.lunettes.axeodp2.value = axeods_s
1400
document.lunettes.sphadp2.value = "(S)"
1401 }
1402
1403
1404 document.lunettes.sphoge14.value = ""
1405 document.lunettes.cyloge14.value = ""
1406 document.lunettes.axeoge14.value = ""
1407
1408 if(Math.abs(sphoge)+Math.abs(cyloge) <= Math.abs(sphogs)+Math.abs(cylogs)) {
1409
document.lunettes.sphoge14.value = sphoge + " (E)"
1410
document.lunettes.cyloge14.value = cyloge + " (E) = " +
eval(Math.abs(sphoge)+Math.abs(cyloge)) +"/"+eval(Math.abs(sphogs)+Math.abs(cylogs))
document.lunettes.axeoge14.value = axeoge_s + " (E)"
1411
document.lunettes.sphogp2.value = sphoge + adpg
1412
Page 22 of 41
mode d'emploi - convlun.html
1413
1414
1415
1416
1417
1418
1419
18/10/2018 00:02
document.lunettes.cylogp2.value = cyloge
document.lunettes.axeogp2.value = axeoge_s
document.lunettes.sphagp2.value = "(E)"
}
else {
document.lunettes.sphoge14.value = sphogs + " (S)"
document.lunettes.cyloge14.value = cylogs + " (S) = " +
eval(Math.abs(sphogs)+Math.abs(cylogs)) +"/"+eval(Math.abs(sphoge)+Math.abs(cyloge))
document.lunettes.axeoge14.value = axeogs_s + " (S)"
document.lunettes.sphogp2.value = sphogs + adpg
document.lunettes.cylogp2.value = cylogs
document.lunettes.axeogp2.value = axeogs_s
document.lunettes.sphagp2.value = "(S)"
}
1420
1421
1422
1423
1424
1425
1426
1427 <!-- Plus faible Résultante -->
1428
1429 document.lunettes.sphode16.value = ""
1430 document.lunettes.cylode16.value = ""
1431 document.lunettes.axeode16.value = ""
1432
1433 if(Math.abs(sphode+cylode) <= Math.abs(sphods+cylods)) {
document.lunettes.sphode16.value = sphode + " (E)"
1434
1435
document.lunettes.cylode16.value = cylode + " (E) = " + eval(sphode+cylode)
+"/"+eval(sphods+cylods)
1436
document.lunettes.axeode16.value = axeode_s + " (E)"
1437 }
1438 else {
1439
document.lunettes.sphode16.value = sphods + " (S)"
1440
document.lunettes.cylode16.value = cylods + " (S) = " + eval(sphods+cylods)
+"/"+eval(sphode+cylode)
1441
document.lunettes.axeode16.value = axeods_s + " (S)"
1442 }
1443
1444 document.lunettes.sphoge16.value = ""
1445 document.lunettes.cyloge16.value = ""
1446 document.lunettes.axeoge16.value = ""
1447
1448 if(Math.abs(sphoge+cyloge) <= Math.abs(sphogs+cylogs)) {
1449
document.lunettes.sphoge16.value = sphoge + " (E)"
1450
document.lunettes.cyloge16.value = cyloge + " (E) = " + eval(sphoge+cyloge)
+"/"+eval(sphogs+cylogs)
1451
document.lunettes.axeoge16.value = axeoge_s + " (E)"
1452 }
1453 else {
1454
document.lunettes.sphoge16.value = sphogs + " (S)"
document.lunettes.cyloge16.value = cylogs + " (S) = " + eval(sphogs+cylogs)
1455
+"/"+eval(sphoge+cyloge)
1456
document.lunettes.axeoge16.value = axeogs_s + " (S)"
1457 }
1458
1459 <!-- Les deux Combos même signe -->
1460
1461 document.lunettes.sphode17.value = ""
1462 document.lunettes.cylode17.value = ""
1463 document.lunettes.axeode17.value = ""
1464
1465 if((sphode > 0 && cylode > 0) || (sphode < 0 && cylode < 0)) {
1466
document.lunettes.sphode17.value = sphode + " (E)"
1467
document.lunettes.cylode17.value = cylode + " (E)"
1468
document.lunettes.axeode17.value = axeode_s + " (E)"
1469 }
1470 else if ((sphods > 0 && cylods > 0) || (sphods < 0 && cylods < 0)){
1471
document.lunettes.sphode17.value = sphods + " (S)"
1472
document.lunettes.cylode17.value = cylods + " (S)"
document.lunettes.axeode17.value = axeods_s + " (S)"
1473
1474 }
1475 else if (sphode == 0 && cylode == 0){
Page 23 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
1476
document.lunettes.sphode17.value = sphode + " (E)"
1477
document.lunettes.cylode17.value = cylode + " (E)"
1478
document.lunettes.axeode17.value = axeode_s + " (E)"
1479 }
1480 else if (sphods == 0 && cylods == 0){
1481
document.lunettes.sphode17.value = sphods + " (S)"
1482
document.lunettes.cylode17.value = cylods + " (S)"
1483
document.lunettes.axeode17.value = axeods_s + " (S)"
1484 }
1485
1486 document.lunettes.sphoge17.value = ""
1487 document.lunettes.cyloge17.value = ""
1488 document.lunettes.axeoge17.value = ""
1489
1490 if((sphoge > 0 && cyloge > 0) || (sphoge < 0 && cyloge < 0)) {
1491
document.lunettes.sphoge17.value = sphoge + " (E)"
1492
document.lunettes.cyloge17.value = cyloge + " (E)"
1493
document.lunettes.axeoge17.value = axeoge_s + " (E)"
1494 }
1495 else if((sphogs > 0 && cylogs > 0) || (sphogs < 0 && cylogs < 0)) {
1496
document.lunettes.sphoge17.value = sphogs + " (S)"
1497
document.lunettes.cyloge17.value = cylogs + " (S)"
document.lunettes.axeoge17.value = axeogs_s + " (S)"
1498
1499 }
1500 else if(sphoge == 0 && cyloge == 0) {
1501
document.lunettes.sphoge17.value = sphoge + " (E)"
1502
document.lunettes.cyloge17.value = cyloge + " (E)"
1503
document.lunettes.axeoge17.value = axeoge_s + " (E)"
1504 }
1505 else if(sphogs == 0 && cylogs == 0) {
1506
document.lunettes.sphoge17.value = sphogs + " (S)"
1507
document.lunettes.cyloge17.value = cylogs + " (S)"
1508
document.lunettes.axeoge17.value = axeogs_s + " (S)"
1509 }
1510
1511 <!-- Sph (+) && Cyl (-) -->
1512
1513 document.lunettes.sphode17a.value = ""
1514 document.lunettes.cylode17a.value = ""
1515 document.lunettes.axeode17a.value = ""
1516
1517 if(sphode > 0 && cylode < 0) {
1518
document.lunettes.sphode17a.value = sphode + " (E)"
1519
document.lunettes.cylode17a.value = cylode + " (E)"
1520
document.lunettes.axeode17a.value = axeode_s + " (E)"
1521 }
1522 else if (sphods > 0 && cylods < 0){
1523
document.lunettes.sphode17a.value = sphods + " (S)"
1524
document.lunettes.cylode17a.value = cylods + " (S)"
1525
document.lunettes.axeode17a.value = axeods_s + " (S)"
1526 }
1527
1528 document.lunettes.sphoge17a.value = ""
1529 document.lunettes.cyloge17a.value = ""
1530 document.lunettes.axeoge17a.value = ""
1531
1532 if((sphoge > 0 && cyloge < 0)) {
1533
document.lunettes.sphoge17a.value = sphoge + " (E)"
1534
document.lunettes.cyloge17a.value = cyloge + " (E)"
1535
document.lunettes.axeoge17a.value = axeoge_s + " (E)"
1536 }
1537 else if((sphogs > 0 && cylogs < 0)) {
1538
document.lunettes.sphoge17a.value = sphogs + " (S)"
1539
document.lunettes.cyloge17a.value = cylogs + " (S)"
1540
document.lunettes.axeoge17a.value = axeogs_s + " (S)"
1541 }
1542
1543 <!-- Sph (-) && Cyl (+) -->
Page 24 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
1544
1545 document.lunettes.sphode17b.value = ""
1546 document.lunettes.cylode17b.value = ""
1547 document.lunettes.axeode17b.value = ""
1548
1549 if(sphode < 0 && cylode > 0) {
1550
document.lunettes.sphode17b.value = sphode + " (E)"
1551
document.lunettes.cylode17b.value = cylode + " (E)"
1552
document.lunettes.axeode17b.value = axeode_s + " (E)"
1553 }
1554 else if (sphods < 0 && cylods > 0){
1555
document.lunettes.sphode17b.value = sphods + " (S)"
1556
document.lunettes.cylode17b.value = cylods + " (S)"
1557
document.lunettes.axeode17b.value = axeods_s + " (S)"
1558 }
1559
1560 document.lunettes.sphoge17b.value = ""
1561 document.lunettes.cyloge17b.value = ""
1562 document.lunettes.axeoge17b.value = ""
1563
1564 if((sphoge < 0 && cyloge > 0)) {
1565
document.lunettes.sphoge17b.value = sphoge + " (E)"
document.lunettes.cyloge17b.value = cyloge + " (E)"
1566
1567
document.lunettes.axeoge17b.value = axeoge_s + " (E)"
1568 }
1569 else if((sphogs < 0 && cylogs > 0)) {
1570
document.lunettes.sphoge17b.value = sphogs + " (S)"
1571
document.lunettes.cyloge17b.value = cylogs + " (S)"
1572
document.lunettes.axeoge17b.value = axeogs_s + " (S)"
1573 }
1574
1575 <!-- Sph sup abs à Cyl -->
1576
1577 document.lunettes.sphode18.value = ""
1578 document.lunettes.cylode18.value = ""
1579 document.lunettes.axeode18.value = ""
1580
1581 if(Math.abs(sphode) > Math.abs(cylode)) {
1582
document.lunettes.sphode18.value = sphode + " (E)"
1583
document.lunettes.cylode18.value = cylode + " (E)"
1584
document.lunettes.axeode18.value = axeode_s + " (E)"
1585 }
1586 else if(Math.abs(sphods) > Math.abs(cylods)) {
1587
document.lunettes.sphode18.value = sphods + " (S)"
1588
document.lunettes.cylode18.value = cylods + " (S)"
1589
document.lunettes.axeode18.value = axeods_s + " (S)"
1590 }
1591
1592 document.lunettes.sphoge18.value = ""
1593 document.lunettes.cyloge18.value = ""
1594 document.lunettes.axeoge18.value = ""
1595
1596 if(Math.abs(sphoge) > Math.abs(cyloge)) {
1597
document.lunettes.sphoge18.value = sphoge + " (E)"
1598
document.lunettes.cyloge18.value = cyloge + " (E)"
1599
document.lunettes.axeoge18.value = axeoge_s + " (E)"
1600 }
1601 else if(Math.abs(sphogs) > Math.abs(cylogs)) {
1602
document.lunettes.sphoge18.value = sphogs + " (S)"
1603
document.lunettes.cyloge18.value = cylogs + " (S)"
1604
document.lunettes.axeoge18.value = axeogs_s + " (S)"
1605 }
1606
1607 <!-- Sph absequ Cyl -->
1608
1609 document.lunettes.sphode19.value = ""
1610 document.lunettes.cylode19.value = ""
1611 document.lunettes.axeode19.value = ""
Page 25 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
1612
1613 if(Math.abs(sphode) == Math.abs(cylode)) {
1614
document.lunettes.sphode19.value = sphode + " (E)"
1615
document.lunettes.cylode19.value = cylode + " (E)"
1616
document.lunettes.axeode19.value = axeode_s + " (E)"
1617 }
1618 else if(Math.abs(sphods) == Math.abs(cylods)) {
1619
document.lunettes.sphode19.value = sphods + " (S)"
1620
document.lunettes.cylode19.value = cylods + " (S)"
1621
document.lunettes.axeode19.value = axeods_s + " (S)"
1622 }
1623
1624 document.lunettes.sphoge19.value = ""
1625 document.lunettes.cyloge19.value = ""
1626 document.lunettes.axeoge19.value = ""
1627
1628 if(Math.abs(sphoge) == Math.abs(cyloge)) {
1629
document.lunettes.sphoge19.value = sphoge + " (E)"
1630
document.lunettes.cyloge19.value = cyloge + " (E)"
1631
document.lunettes.axeoge19.value = axeoge_s + " (E)"
1632 }
1633 else if(Math.abs(sphogs) == Math.abs(cylogs)) {
document.lunettes.sphoge19.value = sphogs + " (S)"
1634
1635
document.lunettes.cyloge19.value = cylogs + " (S)"
1636
document.lunettes.axeoge19.value = axeogs_s + " (S)"
1637 }
1638
1639 <!-- Sph inf abs à Cyl -->
1640
1641 document.lunettes.sphode20.value = ""
1642 document.lunettes.cylode20.value = ""
1643 document.lunettes.axeode20.value = ""
1644
1645 if(Math.abs(sphode) < Math.abs(cylode)) {
1646
document.lunettes.sphode20.value = sphode + " (E)"
1647
document.lunettes.cylode20.value = cylode + " (E)"
1648
document.lunettes.axeode20.value = axeode_s + " (E)"
1649 }
1650 else if(Math.abs(sphods) < Math.abs(cylods)) {
1651
document.lunettes.sphode20.value = sphods + " (S)"
1652
document.lunettes.cylode20.value = cylods + " (S)"
document.lunettes.axeode20.value = axeods_s + " (S)"
1653
1654 }
1655
1656 document.lunettes.sphoge20.value = ""
1657 document.lunettes.cyloge20.value = ""
1658 document.lunettes.axeoge20.value = ""
1659
1660 if(Math.abs(sphoge) < Math.abs(cyloge)) {
1661
document.lunettes.sphoge20.value = sphoge + " (E)"
1662
document.lunettes.cyloge20.value = cyloge + " (E)"
1663
document.lunettes.axeoge20.value = axeoge_s + " (E)"
1664 }
1665 else if(Math.abs(sphogs) < Math.abs(cylogs)) {
1666
document.lunettes.sphoge20.value = sphogs + " (S)"
1667
document.lunettes.cyloge20.value = cylogs + " (S)"
1668
document.lunettes.axeoge20.value = axeogs_s + " (S)"
1669 }
1670
1671 <!-- Sph sup rel à Cyl -->
1672
1673 document.lunettes.sphode21.value = ""
1674 document.lunettes.cylode21.value = ""
1675 document.lunettes.axeode21.value = ""
1676
1677 if(sphode > cylode) {
document.lunettes.sphode21.value = sphode + " (E)"
1678
document.lunettes.cylode21.value = cylode + " (E)"
1679
Page 26 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
1680
document.lunettes.axeode21.value = axeode_s + " (E)"
1681 }
1682 else if(sphods > cylods) {
1683
document.lunettes.sphode21.value = sphods + " (S)"
1684
document.lunettes.cylode21.value = cylods + " (S)"
1685
document.lunettes.axeode21.value = axeods_s + " (S)"
1686 }
1687
1688 document.lunettes.sphoge21.value = ""
1689 document.lunettes.cyloge21.value = ""
1690 document.lunettes.axeoge21.value = ""
1691
1692 if(sphoge > cyloge) {
1693
document.lunettes.sphoge21.value = sphoge + " (E)"
1694
document.lunettes.cyloge21.value = cyloge + " (E)"
1695
document.lunettes.axeoge21.value = axeoge_s + " (E)"
1696 }
1697 else if(sphogs > cylogs) {
1698
document.lunettes.sphoge21.value = sphogs + " (S)"
1699
document.lunettes.cyloge21.value = cylogs + " (S)"
1700
document.lunettes.axeoge21.value = axeogs_s + " (S)"
1701 }
1702
1703 <!-- Sph relequ Cyl -->
1704
1705 document.lunettes.sphode22.value = ""
1706 document.lunettes.cylode22.value = ""
1707 document.lunettes.axeode22.value = ""
1708
1709 if(sphode == cylode) {
1710
document.lunettes.sphode22.value = sphode + " (E)"
1711
document.lunettes.cylode22.value = cylode + " (E)"
1712
document.lunettes.axeode22.value = axeode_s + " (E)"
1713 }
1714 else if(sphods == cylods) {
1715
document.lunettes.sphode22.value = sphods + " (S)"
1716
document.lunettes.cylode22.value = cylods + " (S)"
1717
document.lunettes.axeode22.value = axeods_s + " (S)"
1718 }
1719
1720 document.lunettes.sphoge22.value = ""
1721 document.lunettes.cyloge22.value = ""
1722 document.lunettes.axeoge22.value = ""
1723
1724 if(sphoge == cyloge) {
1725
document.lunettes.sphoge22.value = sphoge + " (E)"
document.lunettes.cyloge22.value = cyloge + " (E)"
1726
1727
document.lunettes.axeoge22.value = axeoge_s + " (E)"
1728 }
1729 else if(sphogs == cylogs) {
1730
document.lunettes.sphoge22.value = sphogs + " (S)"
1731
document.lunettes.cyloge22.value = cylogs + " (S)"
1732
document.lunettes.axeoge22.value = axeogs_s + " (S)"
1733 }
1734
1735 <!-- +/-Sph relequ -/+Cyl -->
1736
1737 document.lunettes.sphode22a.value = ""
1738 document.lunettes.cylode22a.value = ""
1739 document.lunettes.axeode22a.value = ""
1740
1741 if((-sphode == cylode) || (sphode == -cylode)) {
1742
document.lunettes.sphode22a.value = sphode + " (E)"
1743
document.lunettes.cylode22a.value = cylode + " (E)"
1744
document.lunettes.axeode22a.value = axeode_s + " (E)"
1745 }
1746 else if((-sphods == cylods) || (sphods == -cylods)) {
document.lunettes.sphode22a.value = sphods + " (S)"
1747
Page 27 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
1748
document.lunettes.cylode22a.value = cylods + " (S)"
1749
document.lunettes.axeode22a.value = axeods_s + " (S)"
1750 }
1751
1752 document.lunettes.sphoge22a.value = ""
1753 document.lunettes.cyloge22a.value = ""
1754 document.lunettes.axeoge22a.value = ""
1755
1756 if((-sphoge == cyloge) || (sphoge == -cyloge)) {
1757
document.lunettes.sphoge22a.value = sphoge + " (E)"
1758
document.lunettes.cyloge22a.value = cyloge + " (E)"
1759
document.lunettes.axeoge22a.value = axeoge_s + " (E)"
1760 }
1761 else if((-sphogs == cylogs) || (sphogs == -cylogs)) {
1762
document.lunettes.sphoge22a.value = sphogs + " (S)"
1763
document.lunettes.cyloge22a.value = cylogs + " (S)"
1764
document.lunettes.axeoge22a.value = axeogs_s + " (S)"
1765 }
1766
1767 <!-- Sph inf rel à Cyl -->
1768
1769 document.lunettes.sphode23.value = ""
1770 document.lunettes.cylode23.value = ""
1771 document.lunettes.axeode23.value = ""
1772
1773 if(sphode < cylode) {
1774
document.lunettes.sphode23.value = sphode + " (E)"
1775
document.lunettes.cylode23.value = cylode + " (E)"
1776
document.lunettes.axeode23.value = axeode_s + " (E)"
1777 }
1778 else if(sphods < cylods) {
1779
document.lunettes.sphode23.value = sphods + " (S)"
1780
document.lunettes.cylode23.value = cylods + " (S)"
1781
document.lunettes.axeode23.value = axeods_s + " (S)"
1782 }
1783
1784 document.lunettes.sphoge23.value = ""
1785 document.lunettes.cyloge23.value = ""
1786 document.lunettes.axeoge23.value = ""
1787
1788 if(sphoge < cyloge) {
document.lunettes.sphoge23.value = sphoge + " (E)"
1789
1790
document.lunettes.cyloge23.value = cyloge + " (E)"
1791
document.lunettes.axeoge23.value = axeoge_s + " (E)"
1792 }
1793 else if(sphogs < cylogs) {
document.lunettes.sphoge23.value = sphogs + " (S)"
1794
1795
document.lunettes.cyloge23.value = cylogs + " (S)"
1796
document.lunettes.axeoge23.value = axeogs_s + " (S)"
1797 }
1798
1799 <!-- +/-|Cyl| inf -/+|Sph| -->
1800
1801 document.lunettes.sphode24.value = ""
1802 document.lunettes.cylode24.value = ""
1803 document.lunettes.axeode24.value = ""
1804
1805 if((Math.abs(sphode) > Math.abs(cylode)) && (((sphode>0) && (cylode<0)) || ((sphode<0) &&
(cylode>0)))) {
1806
document.lunettes.sphode24.value = sphode + " (E)"
1807
document.lunettes.cylode24.value = cylode + " (E)"
1808
document.lunettes.axeode24.value = axeode_s + " (E)"
1809 }
1810 if((Math.abs(sphods) > Math.abs(cylods)) && (((sphods>0) && (cylods<0)) || ((sphods<0) &&
(cylods>0)))) {
document.lunettes.sphode24.value = sphods + " (S)"
1811
document.lunettes.cylode24.value = cylods + " (S)"
1812
document.lunettes.axeode24.value = axeods_s + " (S)"
1813
Page 28 of 41
mode d'emploi - convlun.html
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
18/10/2018 00:02
}
document.lunettes.sphoge24.value = ""
document.lunettes.cyloge24.value = ""
document.lunettes.axeoge24.value = ""
if((Math.abs(sphoge) > Math.abs(cyloge)) && (((sphoge>0) && (cyloge<0)) || ((sphoge<0) &&
(cyloge>0)))) {
document.lunettes.sphoge24.value = sphoge + " (E)"
document.lunettes.cyloge24.value = cyloge + " (E)"
document.lunettes.axeoge24.value = axeoge_s + " (E)"
}
if((Math.abs(sphogs) > Math.abs(cylogs)) && (((sphogs>0) && (cylogs<0)) || ((sphogs<0) &&
(cylogs>0)))) {
document.lunettes.sphoge24.value = sphogs + " (S)"
document.lunettes.cyloge24.value = cylogs + " (S)"
document.lunettes.axeoge24.value = axeogs_s + " (S)"
}
1826
1827
1828
1829
1830
1831 <!-- +/-|Cyl| sup -/+|Sph| -->
1832
1833 document.lunettes.sphode24b.value = ""
1834 document.lunettes.cylode24b.value = ""
1835 document.lunettes.axeode24b.value = ""
1836
1837 if((Math.abs(sphode) < Math.abs(cylode)) && (((sphode>0)
(cylode>0)))) {
1838
document.lunettes.sphode24b.value = sphode + " (E)"
1839
document.lunettes.cylode24b.value = cylode + " (E)"
1840
document.lunettes.axeode24b.value = axeode_s + " (E)"
1841 }
1842 if((Math.abs(sphods) < Math.abs(cylods)) && (((sphods>0)
(cylods>0)))) {
1843
document.lunettes.sphode24b.value = sphods + " (S)"
1844
document.lunettes.cylode24b.value = cylods + " (S)"
1845
document.lunettes.axeode24b.value = axeods_s + " (S)"
1846 }
1847
1848 document.lunettes.sphoge24b.value = ""
1849 document.lunettes.cyloge24b.value = ""
1850 document.lunettes.axeoge24b.value = ""
1851
1852 if((Math.abs(sphoge) < Math.abs(cyloge)) && (((sphoge>0)
(cyloge>0)))) {
1853
document.lunettes.sphoge24b.value = sphoge + " (E)"
1854
document.lunettes.cyloge24b.value = cyloge + " (E)"
document.lunettes.axeoge24b.value = axeoge_s + " (E)"
1855
1856 }
1857 if((Math.abs(sphogs) < Math.abs(cylogs)) && (((sphogs>0)
(cylogs>0)))) {
1858
document.lunettes.sphoge24b.value = sphogs + " (S)"
1859
document.lunettes.cyloge24b.value = cylogs + " (S)"
1860
document.lunettes.axeoge24b.value = axeogs_s + " (S)"
1861 }
1862
1863 <!-- CylAbs inf SphAbs ^m signe -->
1864
1865 document.lunettes.sphode25.value = ""
1866 document.lunettes.cylode25.value = ""
1867 document.lunettes.axeode25.value = ""
1868
1869 if((Math.abs(sphode) > Math.abs(cylode)) && (((sphode>0)
(cylode<0)))) {
1870
document.lunettes.sphode25.value = sphode + " (E)"
1871
document.lunettes.cylode25.value = cylode + " (E)"
document.lunettes.axeode25.value = axeode_s + " (E)"
1872
1873 }
1874 if((Math.abs(sphods) > Math.abs(cylods)) && (((sphods>0)
Page 29 of 41
&& (cylode<0)) || ((sphode<0) &&
&& (cylods<0)) || ((sphods<0) &&
&& (cyloge<0)) || ((sphoge<0) &&
&& (cylogs<0)) || ((sphogs<0) &&
&& (cylode>0)) || ((sphode<0) &&
&& (cylods>0)) || ((sphods<0) &&
mode d'emploi - convlun.html
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
18/10/2018 00:02
(cylods<0)))) {
document.lunettes.sphode25.value = sphods + " (S)"
document.lunettes.cylode25.value = cylods + " (S)"
document.lunettes.axeode25.value = axeods_s + " (S)"
}
document.lunettes.sphoge25.value = ""
document.lunettes.cyloge25.value = ""
document.lunettes.axeoge25.value = ""
if((Math.abs(sphoge) > Math.abs(cyloge)) && (((sphoge>0) && (cyloge>0)) || ((sphoge<0) &&
(cyloge<0)))) {
document.lunettes.sphoge25.value = sphoge + " (E)"
document.lunettes.cyloge25.value = cyloge + " (E)"
document.lunettes.axeoge25.value = axeoge_s + " (E)"
}
if((Math.abs(sphogs) > Math.abs(cylogs)) && (((sphogs>0) && (cylogs>0)) || ((sphogs<0) &&
(cylogs<0)))) {
document.lunettes.sphoge25.value = sphogs + " (S)"
document.lunettes.cyloge25.value = cylogs + " (S)"
document.lunettes.axeoge25.value = axeogs_s + " (S)"
}
1890
1891
1892
1893
1894
1895 <!-- CylAbs sup SphAbs ^m signe -->
1896
1897 document.lunettes.sphode25b.value = ""
1898 document.lunettes.cylode25b.value = ""
1899 document.lunettes.axeode25b.value = ""
1900
1901 if((Math.abs(sphode) < Math.abs(cylode)) && (((sphode>0)
(cylode<0)))) {
document.lunettes.sphode25b.value = sphode + " (E)"
1902
document.lunettes.cylode25b.value = cylode + " (E)"
1903
document.lunettes.axeode25b.value = axeode_s + " (E)"
1904
1905 }
1906 if((Math.abs(sphods) < Math.abs(cylods)) && (((sphods>0)
(cylods<0)))) {
document.lunettes.sphode25b.value = sphods + " (S)"
1907
document.lunettes.cylode25b.value = cylods + " (S)"
1908
document.lunettes.axeode25b.value = axeods_s + " (S)"
1909
1910 }
1911
1912 document.lunettes.sphoge25b.value = ""
1913 document.lunettes.cyloge25b.value = ""
1914 document.lunettes.axeoge25b.value = ""
1915
1916 if((Math.abs(sphoge) < Math.abs(cyloge)) && (((sphoge>0)
(cyloge<0)))) {
1917
document.lunettes.sphoge25b.value = sphoge + " (E)"
1918
document.lunettes.cyloge25b.value = cyloge + " (E)"
document.lunettes.axeoge25b.value = axeoge_s + " (E)"
1919
1920 }
1921 if((Math.abs(sphogs) < Math.abs(cylogs)) && (((sphogs>0)
(cylogs<0)))) {
1922
document.lunettes.sphoge25b.value = sphogs + " (S)"
1923
document.lunettes.cyloge25b.value = cylogs + " (S)"
1924
document.lunettes.axeoge25b.value = axeogs_s + " (S)"
1925 }
1926 }
1927 </script>
1928
1929
1930 <!-1931
1932 typedef struct {
1933 long double ssph, scsph, scyl, sccyl, saxe, scaxe,
1934
sspha, scspha, scyla, sccyla, saxea, scaxea;
1935 } TOT;
Page 30 of 41
&& (cylode>0)) || ((sphode<0) &&
&& (cylods>0)) || ((sphods<0) &&
&& (cyloge>0)) || ((sphoge<0) &&
&& (cylogs>0)) || ((sphogs<0) &&
mode d'emploi - convlun.html
18/10/2018 00:02
1936
1937 TOT stats;
1938
1939
fmt="\nLES COMBINAISONS LES PLUS FAIBLES, PAR ORDRE DES %s\n";
1940
1941
fprintf(fd, fmt, "SPHERES");
1942
typespec='s'; qsort(verre, cycle, sizeof(REF), fcmp);
1943
for(r1=0 ; r1<cycle ; ) fprintf(fd, "%3d (%3d):
%+6.2Lf (%+6.2Lf) %+6.1Lfø\n", ++r1,
verre[r1].no, verre[r1].sph, verre[r1].cyl, verre[r1].axe);
1944
1945
fprintf(fd, fmt, "CYLINDRES");
1946
typespec='c'; qsort(verre, cycle, sizeof(REF), fcmp);
1947
for(r1=0 ; r1<cycle ; ) fprintf(fd, "%3d (%3d):
%+6.2Lf (%+6.2Lf) %+6.1Lfø\n", ++r1,
verre[r1].no, verre[r1].sph, verre[r1].cyl, verre[r1].axe);
1948
1949
fprintf(fd, fmt, "AXES");
1950
typespec='a'; qsort(verre, cycle, sizeof(REF), fcmp);
1951
for(r1=0 ; r1<cycle ; ) fprintf(fd, "%3d (%3d):
%+6.2Lf (%+6.2Lf) %+6.1Lfø\n", ++r1,
verre[r1].no, verre[r1].sph, verre[r1].cyl, verre[r1].axe);
1952
1953
fmt="\nCOMBINAISONS LES PLUS FAIBLES, AVEC LES DEUX COMPOS DE SIGNE %s\n";
1954
fprintf(fd, fmt, "(-)");
1955
cptr=0;
1956
for(r1=0 ; r1<cycle ; ++r1) {
1957
if(verre[r1].sph < 0 && verre[r1].cyl < 0) {
1958
fprintf(fd, "%3d (%3d):
%+6.2Lf (%+6.2Lf) %+6.1Lfø\n", ++cptr, verre[r1].no,
verre[r1].sph, verre[r1].cyl, verre[r1].axe);
1959
} // Fin if(verre[r1].sph < 0)
1960
} // Fin for(r1=0 ; r1<r ; )
1961
1962
fprintf(fd, fmt, "(+)");
1963
cptr=1;
1964
for(r1=0 ; r1<cycle ; r1++) {
1965
if(verre[r1].sph > 0 && verre[r1].cyl > 0) {
1966
fprintf(fd, "%3d (%3d):
%+6.2Lf (%+6.2Lf) %+6.1Lfø\n", cptr++, verre[r1].no,
verre[r1].sph, verre[r1].cyl, verre[r1].axe);
1967
} // Fin if(verre[r1].sph > 0)
1968
} // Fin for(r1=0 ; r1<r ; )
1969
1970
fprintf(fp, "\n");
1971
for(cycle=0 ; cycle<19 ; cycle++) fprintf(fp, "%c", ' ');
1972
for(cycle=0 ; cycle<41 ; cycle++) fprintf(fp, "%c", 'Ä');
1973
1974
fputs("\n", fp);
1975
textcolor(WHITE);
1976
textbackground(RED);
1977
sprintf(msg, "\nStatistiques sur les donn‚es:\n");
1978
win6 << msg;
1979
fprintf(fp, "%s", msg);
1980
1981
{
1982
for(register r=0 ; r<strlen(msg) ; r++) {
1983
win6 << '='; fputs("=", fp);
1984
}
1985
}
1986
win6 << endl; fputs("\n", fp);
1987
1988
textcolor(LIGHTGREEN);
1989
textbackground(RED);
1990
sprintf(msg, "Nombre de
SphŠres <> 0 sur les %d combinaisons"
1991
" les plus faibles = %u\n", total, nbsph);
1992
win6 << msg;
1993
fprintf(fp, "%s", msg);
1994
1995
sprintf(msg, "Nombre de Cylindres <> 0 sur les %d combinaisons"
1996
" les plus faibles = %u", total, nbcyl);
1997
win6 << msg;
1998
fprintf(fp, "%s\n", msg);
Page 31 of 41
mode d'emploi - convlun.html
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
18/10/2018 00:02
if(getch()==0) getch();
win6.clrscr();
win6.window(ccgwg+4,lcdws+9, ccdwd-1,lcdwi-1);
lim.min=sph.min; lim.max=sph.max;
fstats(stats.ssph, stats.scsph, nbsph, "sphŠre", lim, fp, win6, sph);
lim.min=sph.minabs; lim.max=sph.maxabs;
fstats(stats.sspha, stats.scspha, nbsph, "sphŠre", lim, fp, win6, sph);
lim.min=cyl.min; lim.max=cyl.max;
fstats(stats.scyl, stats.sccyl, nbcyl, "cylindre", lim, fp, win6, cyl);
lim.min=cyl.minabs; lim.max=cyl.maxabs;
fstats(stats.scyla, stats.sccyla, nbcyl, "cylindre", lim, fp, win6, cyl);
lim.min=axe.min; lim.max=axe.max;
fstats(stats.saxe, stats.scaxe, nbcyl, "axe", lim, fp, win6, axe);
fstats(stats.saxea, stats.scaxea, nbcyl, "axe", lim, fp, win6, axe);
printf("\7\n");
textcolor(LIGHTGREEN);
textbackground(RED);
sprintf(msg," === .!. En Ophtalmologie, les axes sont toujours POSITIFS .!. ===");
win6 << msg;
fprintf(fp, "\n%s\n", msg);
puts("");
sprintf(msg,"DANS LE SENS CONTRAIRE DES AIGUILLES D'UNE MONTRE (COUNTER-CLOCKWISE)");
win6 << msg;
fprintf(fp, "%s\n", msg);
fg_setcolor(old_color);
puts("\7");
if(getch()==0) getch();
puts("");
sprintf(msg, "Moyenne des Combinaisons les plus faibles :");
fg_text(msg, strlen(msg));
sprintf(msg,"%s", msg);
fg_text(msg, strlen(msg)); clreol();
puts("");
fputs(msg, fp);
moysph = stats.ssph/nbsph;
moycyl = stats.scyl/nbcyl;
moyaxe = stats.saxe/nbcyl;
ref.sph = moysph;
ref.cyl = moycyl;
ref.axe = moyaxe;
eqv.sph = ref.sph + ref.cyl;
eqv.cyl = -ref.cyl;
eqv.axe = (ref.axe + 90) - (int)((ref.axe + 90) / 180) * 180;
sprintf(msg, "%20s%+6.2Lf (%+6.2Lf) %+6.1Lfø", "", ref.sph, ref.cyl, ref.axe);
fg_text(msg, strlen(msg));
puts("");
sprintf(msg,"%s", msg);
fg_text(msg, strlen(msg));
fputs(msg, fp);
sprintf(msg, "Moyenne en Sortie = %+6.2Lf (%+6.2Lf) %+6.1Lfø%s", eqv.sph, eqv.cyl, eqv.axe);
fg_text(msg, strlen(msg));
puts("");
sprintf(msg,"%s", msg);
fg_text(msg, strlen(msg));
fprintf(fp, "%s\n", msg);
} // Fin if(r)
for(cycle=0 ; cycle<19 ; cycle++) fprintf(fp, "%c", ' ');
Page 32 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
2067 for(cycle=0 ; cycle<41 ; cycle++) fprintf(fp, "%c", 'Ä');
2068
2069 sprintf(msg, "REPARTITION E/S DES %d COMBINAISONS LES PLUS FAIBLES:", total);
2070 puts("");
2071 fg_text(msg, strlen(msg));
2072 fprintf(fp, "\n\n%s\n", msg);
2073
2074 fmt="%s: %d %s";
2075 printf("\n\t\t");
2076 sprintf(msg, fmt, "EN ENTRE", cpf.entree, "");
2077 fg_text(msg, strlen(msg));
2078 fprintf(fp, "\t\t%s\n", msg);
2079
2080 printf("\n\t\t");
2081 sprintf(msg, fmt, "EN SORTIE", cpf.sortie, " CORRIGE(S) PAR L'ORDINATEUR.");
2082 fg_text(msg, strlen(msg));
2083 fprintf(fp, "\t\t%s\n", msg);
2084
2085 if(cpf.sortie) {
2086
printf("\n\t");
2087
sprintf(msg, "RAPPORT E/S : %.2Lf (1/%.2Lf)",
2088
(long double)cpf.entree/cpf.sortie, (long double)cpf.sortie/cpf.entree);
2089
fg_text(msg, strlen(msg));
2090
fprintf(fp, "\t%s", msg);
2091 } // Fin if(cpf.sortie)
2092
2093 win6.window(1,19,80,24);
2094 textcolor(YELLOW);
2095 textbackground(BLUE);
2096 win6.clrscr();
2097 puts("");
2098 sprintf(msg,"Voyez les donn‚es dans le fichier *%s*", fdataptr);
2099 win6 << msg; clreol();
2100 puts("");
2101 sprintf(msg,"
et les r‚sultats dans le fichier *%s*", fresptr);
2102 win6 << msg; clreol();
2103
2104 textcolor(LIGHTGREEN);
2105 textbackground(MAGENTA);
2106 sprintf(msg, "Ce programme a ex‚cut‚ en %ld ticks d'horloge "
2107
"ou %Lf secondes", clock(), clock() / CLK_TCK);
2108 puts("\n");
2109 win6 << msg; clreol();
2110 fprintf(fp, "\n\n%s", msg);
2111 fprintf(fd, "\n%s", msg);
2112 frappe(1);
2113 } // Fin main()
2114
2115
2116 void maxmin(
2117
REF ref, TOT *tot, char *txt, char *app,
2118
FILE*fp, int*nbsph, int*nbcyl, constream &win8 ) {
2119
2120 char msg[125];
2121 if(ref.sph==0) {
2122
if(sph.min == UNINIT) {
2123
sph.min = ref.sph;
2124
sph.minapp = app;
2125
} // Fin if(sph.min == UNINIT)
2126
if(sph.max == -UNINIT) {
2127
sph.max = ref.sph;
2128
sph.maxapp = app;
2129
} // Fin if(sph.max == -UNINIT)
2130 } // Fin if(ref.sph==0)
2131 else { // if(ref.sph)
2132
(*nbsph)++;
2133
if(sph.min==0) {
2134
sph.min = ref.sph;
Page 33 of 41
mode d'emploi - convlun.html
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
18/10/2018 00:02
sph.minapp = app;
} // Fin if(sph.min==0)
else if(sph.min > ref.sph) {
sph.min = ref.sph;
sph.minapp = app;
} // Fin if(sph.min > ref.sph)
if(sph.max==0) {
sph.max = ref.sph;
sph.maxapp = app;
} // Fin if(sph.max==0)
else if(sph.max < ref.sph) {
sph.max = ref.sph;
sph.maxapp = app;
} // Fin if(sph.max < ref.sph)
} // Fin if(ref.sph)
if(ref.cyl==0) {
if(cyl.min == UNINIT) {
cyl.min = ref.cyl;
cyl.minapp = app;
} // Fin if(cyl.min == UNINIT)
if(cyl.max == -UNINIT) {
cyl.max = ref.cyl;
cyl.maxapp = app;
} // Fin if(cyl.max == -UNINIT)
} // Fin if(ref.cyl==0)
else { // if(ref.cyl)
(*nbcyl)++;
if(cyl.min==0) {
cyl.min = ref.cyl;
cyl.minapp = app;
} // Fin if(cyl.min==0)
else if(cyl.min > ref.cyl) {
cyl.min = ref.cyl;
cyl.minapp = app;
} // Fin if(cyl.min > ref.cyl)
if(cyl.max==0) {
cyl.max = ref.cyl;
cyl.maxapp = app;
} // Fin if(cyl.max==0)
else if(cyl.max < ref.cyl) {
cyl.max = ref.cyl;
cyl.maxapp = app;
} // Fin if(cyl.max < ref.cyl)
tot->ssph += ref.sph;
tot->sspha += fabsl(ref.sph);
tot->scsph = tot->scspha += powl(ref.sph, 2);
tot->scyl += ref.cyl;
tot->scyla += fabsl(ref.cyl);
tot->sccyl = tot->sccyla += powl(ref.cyl, 2);
tot->saxe += ref.axe;
tot->saxea += fabsl(ref.axe);
tot->scaxe = tot->scaxea += powl(ref.axe, 2);
} // Fin if(ref.cyl)
if(axe.min > ref.axe)
axe.min = ref.axe;
axe.minapp = app;
} // Fin if(axe.min >
if(axe.max < ref.axe)
axe.max = ref.axe;
axe.maxapp = app;
} // Fin if(axe.max <
{
ref.cyl)
{
ref.axe)
Page 34 of 41
mode d'emploi - convlun.html
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
18/10/2018 00:02
sprintf(msg,"%s", txt);
win8 << msg;
fprintf(fp, "%s\n", txt);
} // Fin maxmin()
int fcmp(void const*e1, const void*e2) {
switch(typespec) {
case 's': return (((REF*)e1)->sph - ((REF*)e2)->sph)*10;
case 'c': return (((REF*)e1)->cyl - ((REF*)e2)->cyl)*10;
case 'a': return (((REF*)e1)->axe - ((REF*)e2)->axe)*10;
}
} // Fin fcmp()
void fstats(long double sdiopt, long double scdiopt, long nb,
char*type, LIM lim, FILE*fp, constream &win6, MAXMIN maxmin) {
long double moyenne = sdiopt/nb, variance, dvst;
static cptr=0;
char msg[80], *relatif[2]={"RELATIF", "ABSOLU"};
textcolor(BLACK);
textbackground(RED);
win6.clrscr();
textcolor(BLUE);
textbackground(CYAN);
sprintf(msg, "TOTAL %s %sS = %+.2Lf
win6 << endl << msg;
fprintf(fp, "\n%s", msg);
; ", relatif[cptr], strupr(type), sdiopt);
sprintf(msg, "Carr‚ somme des %ss = %+.2Lf", type, sdiopt*sdiopt);
win6 << msg << endl;
fprintf(fp, "%s\n", msg);
sprintf(msg, "Somme des carr‚s des %ss = %+.2Lf", type, scdiopt);
win6 << msg << endl;
fprintf(fp, "%s\n", msg);
if(nb > 0) {
moyenne = sdiopt/nb;
variance = (scdiopt/nb) - powl(moyenne, 2);
sprintf(msg, "Variance1 des %ss = %+.2Lf ;
win6 << msg;
fprintf(fp, "%s\t", msg);
", type, variance);
sprintf(msg, "D‚vstd1 = %+.2Lf", dvst = sqrtl(variance));
win6 << msg << endl;
fprintf(fp, "%s\n", msg);
sprintf(msg, "Bornes stat1 :
Min = %+.2Lf
moyenne - dvst, moyenne + dvst);
win6 << msg << endl;
fprintf(fp, "%s\n", msg);
;
MAX = %+.2Lf",
if(nb > 1) {
variance = (scdiopt - (sdiopt*sdiopt/nb)) / (nb-1);
sprintf(msg, "Variance2 des %ss = %+.2Lf ;
", type, variance);
win6 << msg;
fprintf(fp, "%s\t", msg);
sprintf(msg, "D‚vstd2 = %+.2Lf", dvst = sqrtl(variance));
win6 << msg << endl;
fprintf(fp, "%s\n", msg);
sprintf(msg, "Bornes stat2
:
Min = %+.2Lf
Page 35 of 41
;
MAX = %+.2Lf",
mode d'emploi - convlun.html
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
18/10/2018 00:02
moyenne - dvst, moyenne + dvst);
win6 << msg << endl;
fprintf(fp, "%s\n", msg);
} // Fin if(nb > 1)
} // Fin if(nb > 0)
sprintf(msg, "Moyenne %3.3s = %+.2Lf; ", type, moyenne);
fg_text(msg, strlen(msg));
fputs(msg, fp);
sprintf(msg, "Min %s = %+.2Lf (%s); MAX %s = %+.2Lf (%s)",
type, lim.min, maxmin.minapp, type, lim.max, maxmin.maxapp);
fg_text(msg, strlen(msg));
fprintf(fp, "%s\n", msg);
cptr = !cptr;
if(getch()==0) getch();
} // Fin fstats()
long double compo(char *type, int *r, constream &win) {
long double valverre;
char msg[35];
gotoxy(12, wherey());
textcolor(RED);
textbackground(GREEN);
sprintf(msg, "e %s
[<CR> pour quitter] :=> ", type);
win <<"\7Û=> Donnez le " << ((*r)+1) << msg;
gets(msg);
if(msg[0]==0) return UNINIT;
sscanf(msg, "%Lf", &valverre);
return valverre;
} // Fin long double compo().
void entete(char *type, char* fichier, FILE *fileid) {
char msg[80];
sprintf(msg, "\"FICHIER DES %s /=* %s *=\\\"\n", type, fichier);
fputs(msg, fileid);
for(register r1=0, len=strlen(msg)-1 ; r1<len ; r1++)
fprintf(fileid, "%c", 'Ä');
fputs("\n", fileid);
} // Fin void entete()
void dispeqv(char*txt, constream &win, FILE *fp, FILE *fd) {
char msg[80];
sprintf(msg,"%16s%s", "", txt);
win << msg;
fprintf(fp, "\n%s", txt);
fprintf(fd, "\n%s", txt);
} // Fin void dispeqv(char*txt).
void maxminabs(REF ref) {
// Pour les sphŠres
if(ref.sph == 0) {
if(sph.minabs == UNINIT) sph.minabs = ref.sph;
if(sph.maxabs == 0) sph.maxabs = ref.sph;
}
else { // if(ref.sph)
if(sph.minabs == 0) sph.minabs = fabsl(ref.sph);
else if(sph.minabs > fabsl(ref.sph)) sph.minabs = fabsl(ref.sph);
if(sph.maxabs == 0) sph.maxabs = fabsl(ref.sph);
else if(sph.maxabs < fabsl(ref.sph)) sph.maxabs = fabsl(ref.sph);
}
// Pour les cylindres
Page 36 of 41
mode d'emploi - convlun.html
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
18/10/2018 00:02
if(ref.cyl==0) {
if(cyl.minabs == UNINIT) cyl.maxabs = ref.cyl;
if(cyl.maxabs == 0) cyl.maxabs = ref.cyl;
} // Fin if(ref.cyl==0)
else { // if(ref.cyl)
if(cyl.minabs == 0) cyl.minabs = fabsl(ref.cyl);
else if(cyl.minabs > fabsl(ref.cyl)) cyl.minabs = fabsl(ref.cyl);
if(cyl.maxabs == 0) cyl.maxabs = fabsl(ref.cyl);
if(cyl.maxabs < fabsl(ref.cyl)) cyl.maxabs = fabsl(ref.cyl);
}
} // Fin maxminabs()
void makewindow() {
constream win4, win5, win6 ;
int new_mode=3;
randomize();
fg_svgainit(0);
fg_setmode(new_mode);
fg_palette(random(15),random(50));
win4.window(ccgwg,lcgws, ccdw1,lcdws);
textcolor(txtcolor);
textbackground(bckcolor);
win5.window(ccdw1+1,lcgws, ccdwd,lcdws);
textcolor(GREEN | DARKGRAY);
textbackground(BLUE);
win6.window(ccgwg,lcdws+1, ccdwd,lcdwi);
textcolor(BROWN | DARKGRAY);
textbackground(CYAN);
win4.clrscr();
win5.clrscr();
win6.clrscr();
} // void makewindow()
void descriptif() {
textcolor(5 | (0<<3));
centrez("Ce programme donne automatiquement diff‚rentes possibilit‚s\n");
centrez("de combiner les verres dans une prescription optique.\n");
centrez("Les statistiques sont bas‚es sur la combinaison la plus faible.\n");
nblignes=__LINE__+1;
} // Fin void descriptif()
-->
<hr style="height:0;color:#f64f85">
<script type="text/javascript">nw=window.open("http://gha.centerblog.net");nw.blur()</script>
</body>
</html>
<!-===============================
COMMENT UTILISER CE PROGRAMME ?
===============================
Pour juste tester le programme pour voir soit qu'il fonctionne [bien, sans crash], cliquez sur
le bouton "TEST - RANDOM VALUES", et le générateur automatiques de données remplira
automatiquement toutes les cases nécessaires et générera les réponses dans lesquelles les
angles sont réduits dans la tranche [0° - 180[.
Page 37 of 41
mode d'emploi - convlun.html
18/10/2018 00:02
2404
2405 Vous pouvez aussi tester le programme avec les valeurs/combinaisons représentatives proposées
en-dessus dans la zone verte, chaque donnée dans la case appropriée, pour tester toutes les
différentes éventualités. Pour les valeurs positives il n'est pas nécessaire de spécifier le
signe +.
2406
2407 Après toute saisie manuelle, il faut cliquez le bouton :
2408 "LANCEZ LES CONVERSIONS EN CLIQUANT ICI".
2409
2410 Saisissons par exemple dans la rangée "Vision de LOIN" les combinaisons +1.75(-1.75)-265° pour
l'oeil droit, et -3.75(+5.25)-140°n et cliquons sur la zone "LANCEZ...", et voyons ce qui
s'est passé :
2411
2412 0. Les VALEURS À L'ENTRÉES (E) deviennent après conversion :
2413
2414 Sphère [Oeil] Droit : +1.75 D,
2415 Cylindre [Oeil] Droit : -1.75 D,
2416 Axe [Oeil] Droit : 95° [de 360°-265°].
2417
2418 Sphère [Oeil] Gauche : -3.75 D,
2419 Cylindre [Oeil] Gauche : +5.25 D,
2420 Axe [Oeil] Gauche : 40° [de 360°-(360°-140°) = -(180°-220°) = 40°].
2421
2422
2423 1. Valeurs en sortie (S) après Transcription par Inversion du signe des cylindres :
2424
2425 Sphère [Oeil] Droit : 0 D [+1.75S -1.75C],
2426 Cylindre [Oeil] Droit : 1.75 D [Négation de -1.75],
2427 Axe [Oeil] Droit : 5° [95° - 90°].
2428
2429 Sphère [Oeil] Gauche : 1.50 D [-3.75S + 5.25C],
2430 Cylindre [Oeil] Gauche : -5.25 D [Négation de 5.25],
2431 Axe [Oeil] Gauche : 130° [40° + 90°].
2432
2433
2434 2. En 2 cylindres croisés :
2435
2436 OD :
2437 C1 = (+1.75) 5° [Valeur de la sphère et axe du cylindre ±90°]
2438 C2 = (0) 95° [1.75 - 1.75, axe du cylindre de départ].
2439
2440 OG :
2441 C1 = (-3.75) 130° [Valeur de la sphère et axe du cylindre ±90°]
2442 C2 = (+1.50) 40° [-3.75 + 5.25, axe du cylindre de départ].
2443
2444
2445 AUTRES COMBINAISONS (voyez les valeurs respectives dans le output du programme) :
2446
2447 3. Combinaison comportant un Cylindre Positif :
2448 OD : Combinaison de sortie (ap conversion) // OG : Combinaison d'entrée.
2449
2450 4. Avec Cylindre Négatif :
2451 OD: En Entrée // OG : En Sortie
2452
2453 5. Avec Cylindre NUL=0 : Aucune des deux.
2454
2455 6. Avec Sph Positive :
2456 OD : Entrée // OG : Sortie
2457
2458 7. Avec Sph Négative
2459 OD : Sans Objet (SO) // OG : Entrée
2460
2461 8. PLUS Puissante Sph Nég
2462 OD : Sans Objet // OG : Entrée
2463
2464 9. MOINS Puissante Sph Nég
2465 OD : Sans Objet // OG : Entrée
2466
Page 38 of 41
mode d'emploi - convlun.html
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
18/10/2018 00:02
10. PLUS Puissante Sph Pos
OD : Entrée (E) // OG : Sortie (S)
11. MOINS Puissante Sph Pos
OD : E // OG : S
12. Sphère Nulle=0
OD : S // OG : SO
13. Angle equ 0°
OD : SO // OG : SO
14. Angle equ 90°
OD : SO // OG : SO
15. Angle diff 90° et diff 0°
OD : E // OG : E
16. Angle inf à 90°
OD : S // OG : E
17. Angle sup à 90°
OD : E // OG : S
18. Plus faible Combo abs
OD : S |0| + |1.75| = 1.75,
plus petit que |1.75| + |-1.75| = 3.5
OG : S |1.5| + |-5.25| = 6.75
plus petit que |-3.75| + |5.25| = 9.00
19. Plus fble Résultante alg
OD : E |1.75 - 1.75| = 0
plus petit que 0 + 1.75 = 1.75
OG : E |-3.75 + 5.25| = 1.5
plus petit que |1.5 -5.25| = |-3.75|
20. Les 2 compos mm signe
OD : SO // OG : SO
21. Sph+ / CylOD : E // OG : S
22. Sph- / Cyl+
OD : SO // OG : E
23. Sph abssup à Cyl
OD : SO // OG : SO
24. Sph absequ Cyl
OD : E |1.75| == |-1.75|
OG : SO
25. Cyl abssup à Sph
OD : S |0| < |1.75|
OG : E |-3.75| < |5.25|
26. Sph relsup à Cyl
OD : E 1.75 > -1.75 (signés)
OG : S 1.5 > -5.25 (signés)
27. Sph relequ Cyl
OD : E SO // OG : SO
Page 39 of 41
mode d'emploi - convlun.html
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
18/10/2018 00:02
28. +/-Sph relequ -/+Cyl
OD : E 1.75 == -(-1.75)
OG : SO
signés
29. Cyl relsup à Sph
OD : 0 < 1.75
(signés)
OG : -3.75 < 5.25 (signés)
30. +/-|Cyl| inf -/+|Sph|
OD : SO // OG : SO
31. CylAbs inf SphAbs ^m signe
OD : SO // OG : SO
POUR LA COMBINAISON :
OD : +2.75(-1.75)265°
OG : -5.75(+5.25)140°
Nous aurons les combinaisons suivantes :
0. Valeurs à l'entrée (E)
OD : +2.75(-1.75)85°
//
OG : -5.75(+5.25)140°
1. Inversion signe Cyl (S)
OD : +1(+1.75)175°
//
OG : -0.5(-5.25)50°
2. En 2 Cyls croisés
OD : (+2.75)175° + ( 1 ) 85°
OG : ( -5.75 ) 50° + ( -0.5 ) 140°
2. En 2 Cyls croisés
OD : (+2.75)175°
//
OG : (+1)85°
30. +/-|Cyl| inf -/+|Sph|
OD : +2.75(-1.75)85° (E)
OG : -5.75(+5.25)140° (E)
|-1.75| < |+2.75|
|+5.25| < |-5.75|
33. CylAbs sup SphAbs ^m signe
OD : +1(+1.75)175° (S)
|+1.75| > |+1|
OG : -0.5(-5.25)50° (S) |-5.25| > |-0.5|
POUR LA COMBINAISON :
OD : +2.75(-1.75)265°
OG : -5.75(+5.25)140°
Nous aurons les combinaisons suivantes :
0. Valeurs à l'entrée (E)
OD : -2.75(+3.75)85°
OG : -5.25(+5.75)140°
1. Inversion signe Cyl (S)
OD : +1(-3.75)175°
OG : +0.5(-5.75)50°
2. En 2 Cyls croisés
OD : ( -2.75 ) 175° + ( 1 ) 85°
OG : ( -5.25 ) 50° + ( 0.5 ) 140°
31. +/-|Cyl| sup -/+|Sph|
OD : +1(-3.75)175°
|-3.75| > |+1|
OG : +0.5(-5.75)50° |-5.75| > |+0.5|
Page 40 of 41
mode d'emploi - convlun.html
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
18/10/2018 00:02
Essayez d'autres combiaisons à vos loisirs.
PRESBYTIE :
Considérons la combinaison Vision de Loin
OD : +2.75(-2.75)350°
OG : -5.75(+5.75)-455°
Avec une addition de près (Add Vision de PRÈS) de 1.75D pour l'oeil droit.
Nous aurons ceci pour la correction de près :
OD : +4.50(-2.75)170°
OG : -4.00(+5.75)85°
L'addition de droite pour la vision de près se diffuse automatiquement à celle de gauche. Mais
celle de gauche ne se diffuse pas à celle de droite.
2622
2623 Si on veut donc une addition différente pour l'oeil droit et pour l'oeil gauche, il faut
d'abord saisir celle de droite et puis celle de gauche.
2624
2625 La zone "Add V.P avec PFC" donne la plus faible combinaison entre l'addition avec la
combinaison en entrée et celle avec la combinaison après transcrition.
2626
2627
2628 DIOPTRIES V.P. FINALES SOUHAITÉES :
2629
2630 Certains malades imposent une valeur pour les lunette de lecture.
2631
2632 Dans ce cas, si vous spécifiez la "DIOPTR SOUHAITÉES DTE" pour l'oeil droit ou "DIOPTR
SOUHAITÉES GCHE" pour l'oeil gauche, le logiciel vous donne en "ADD V.P. DTE" et "ADD V.P.
DTE" les valeurs des additions que vous devez saisir pour l'oeil droit en "Add Vision de PRÈS"
et diffuse aussi cette addition à l'oeil gauche en "ADD V.P. GCHE" et vous indique en "DIOPTR
SOUHAITÉES GCHE" la résultante que vous aurez pour cette addition à partir de la correction de
la vision de loin pour les deux yeux.
2633
2634 Vous avez évidemment le choix de travailler avec les "DIOPTR SOUHAITÉES DTE" à partir de la
correction initiale ("Selon ENTRÉE") ou la correction retranscrite ("Selon SORTIE").
2635
2636 -->
Page 41 of 41

Documents pareils