Outils pour utilisateurs

Outils du site


back2root:archives:denthor:part-03

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Dernière révisionLes deux révisions suivantes
back2root:archives:denthor:part-03 [2023/05/18 20:35] fraterback2root:archives:denthor:part-03 [2023/05/18 20:55] – [Line algorithms] frater
Ligne 109: Ligne 109:
  
 {{drawio>back2root:archives:denthor:part-03-line-01.png}} {{drawio>back2root:archives:denthor:part-03-line-01.png}}
- 
-Ie.            o  (X1,Y1) 
-                ooooooooo 
-                         ooooooooo 
-                                  oooooooo  (X2,Y2) 
  
 Again, sorry about my drawings ;-) Again, sorry about my drawings ;-)
Ligne 150: Ligne 145:
  
 {{drawio>back2root:archives:denthor:part-03-line-02.png}} {{drawio>back2root:archives:denthor:part-03-line-02.png}}
- 
-        o 
-           o 
-              o 
  
 Instead of this : Instead of this :
  
 {{drawio>back2root:archives:denthor:part-03-line-03.png}} {{drawio>back2root:archives:denthor:part-03-line-03.png}}
-        ooo 
-           ooo 
-              ooo 
  
 Well, the solution is as follows : Well, the solution is as follows :
  
-{{drawio>back2root:archives:denthor:part-03-line-04.png}} +<code
- +*\``|``/* 
-                           *\``|``/* +***\|/*** 
-                           ***\|/*** +----+---- 
-                           ----+---- +***/|\*** 
-                           ***/|\*** +*/``|``\* 
-                           */``|``\*+</code>
  
 If the slope angle is in the area of the stars (*) then use the first equation, if it is in the other section (`) then use the second one. If the slope angle is in the area of the stars (*) then use the first equation, if it is in the other section (`) then use the second one.
  
 What you do is you calculate the variable on the left hand side by putting the variable on the right hand side in a loop and solving. Below is our finished line routine : What you do is you calculate the variable on the left hand side by putting the variable on the right hand side in a loop and solving. Below is our finished line routine :
 +
 +=== function: ===
  
 <code pascal> <code pascal>
back2root/archives/denthor/part-03.txt · Dernière modification : 2023/05/18 21:07 de frater