<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 28-avr.-10 à 22:06, Konstantinos Poulios a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>After some further experimentation I tend to conclude that there is a<br>logical error in the way the avl tree is used in the case of<br>"allNonDuplicatedPoints". To my understanding, the comparison function<br>"comparePosition" which is used by this tree is not an appropriate<br>comparison function. The following 2D example demonstrates what I<br>mean:<br><br></div></blockquote><div><br></div><div>yes, true, we should use bounding boxes and multidimensional trees...</div><div><br></div><div>yet, we're working now on a complete re-writing of Gmsh's modeler, that</div><div>will be a true modeler, so be patient, that kind of thing should not happen</div><div>anymore  ;-)</div><div><br></div><div>JF</div><div> </div><br><blockquote type="cite"><div>Consider the points A(0,0), B(0.5,-1), C(1,-2) and eps = 0.6, in this<br>case using the function "comparePosition" to compare A, B and C in<br>pairs would yield to:<br><br>A > B (because A.X ~= B.X and A.Y > A.Y)<br>B > C (because B.X ~= C.X and B.Y > C.Y)<br>A < C (because A.X < C.X)<br><br>which is a logical error.<br><br>I will try to find some fix for the "comparePosition" function and try<br>it in praxis.<br><br>If I am indeed right with my considerations, it would be strange that<br>I am the first to experience crashes due to this problem.<br><br>Best Regards<br><br>Kostas<br><br>_______________________________________________<br>gmsh mailing list<br><a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>http://www.geuz.org/mailman/listinfo/gmsh<br></div></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><span class="Apple-style-span" style="font-size: medium; "><div>------------------------------------------------------------------</div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Prof. Jean-Francois Remacle</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Universite catholique de Louvain (UCL)</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Ecole Polytechnique de Louvain (EPL) - Louvain School of Engineering</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Institute of Mechanics, Materials and Civil Engineering (iMMC)</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Center for Systems Engineering and Applied Mechanics (CESAME)</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Tel : +32-10-472352 -- Mobile : +32-473-909930 </span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; "><br></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; "> </span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; "><br></span></font></div><div><br></div></span></div></div></div></span></div><br class="Apple-interchange-newline"></div></div></span><br class="Apple-interchange-newline"> </div><br></body></html>