2021-10-15 21_19_36.png623x783 23.7 KB Best Distance for very high precision is very close to the precision of 0.1, not only for this shape.
And this is also interesting. The lasts shape which I posted above, where the time for the js version was: precision:0.1 time:56803 heap:80946052L No…
Yep. Maybe I am doing something wrong. Again. When I set the precision to 100 000 and h = cellSize/2.0 I get the same results – time is 0, the poi…
denisT: h = cellSize/8.0 The time is 0, the result is the same.
denisT: The precision is the half of maximum distance of “the most promising cell” Do you redefine the precision every time when the cells are s…
Thank you. denisT: Why do you need so high precision? Just for testing. There is not a big difference. On this image the yellow point is fo…
Thank you. But did you measured the probes and the time to find the point with precision of 0.1? I wonder how fast is compiled c++ code.
I have a question about this while loop. qsort cells cellSorter while cells.count != 0 do ( — pick the most promising cell from the queue …
denisT: I told above that the ring (array of spline points) must be closed for last version. It’s much faster for MXS to not do condition in loops. …
Serejah: here’s a .net playground. you can put your values to Main method to test if it really works Serejah, thank you for this site. I have…
Denis, I have found something strange. The yellow point is created from the first code which you posted. The red line is created from the last code. …
denisT: // do not drill down further if there’s no chance of a better solution Yes, now it is clear. Thank you. I though that this means that the…
denisT: don’t trust the documentation. Box3 was added in MAX 2015 (but kept secret )
Yes, in your code. I was asked about the js code where I can’t see when the while loop stops(my js skills are exactly 0). So, I thought that that line…
denisT: continue means continue the while loop In this case why this check is performed in the while loop? If this is true the while loop stops? …