Picking et profondeur

previoustopnext

Les valeurs de profondeur retournées permettent éventuellement de distinguer les objets par leur profondeur, si deux objets ont le même nom.

Exemple

pickdepth pickdepth.c

 > ./pickdepth 
 hits = 1
  number of names for hit = 1
   z1 is 0.833333; z2 is 0.833333
    the name is 3 
 hits = 2
  number of names for hit = 1
   z1 is 0.166667; z2 is 0.166667
    the name is 1 
  number of names for hit = 1
   z1 is 0.5; z2 is 0.5
    the name is 2 
 hits = 3
  number of names for hit = 1
   z1 is 0.166667; z2 is 0.166667
    the name is 1 
  number of names for hit = 1
   z1 is 0.5; z2 is 0.5
    the name is 2 
  number of names for hit = 1
   z1 is 0.833333; z2 is 0.833333
    the name is 3 

Frédéric Devernay

ESSI