-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lat Long #9
Comments
Hi @dmgctrlr! That's normal that points' coordinates are floats. However, it might be a bug if the Could you create a PR with a failing test? Or at least giving me a "failing" example? |
Hi @sroze! thanks for your response. I'm not 100% sure that its failing, but even after 20 minutes it has not completed, whereas your example runs very fast. Here is an var_export of my $sites array is : array ( And my bbox is like this: $bbox = new stdClass(); When I then do $voronoi = new Voronoi(); it does not complete. Am I misunderstanding something? |
Erm, could you create a gist or something that I can run by copy/pasting to reproduce and hopeful fix the bug? Thanks :) |
Is this suitable? Sorry I'm not very github savvy https://gist.github.com/dmgctrlr/7dcf8b9f942c2f964546e78816480ef6 |
If it helps, when I use only the first 3 points in that array, it returns quite quickly. But if I extend that to the first 4 or 5 points, thats when it hangs. |
Can you check again with |
Got the same problem with last master (including #13) |
This implementation is really not working, there should by a typo somewhere. Results are not consistants with 4 points... |
I'm trying to use this with map latitudes / longitudes.
Calling $voronoi->compute with 10 sites appears to hang.
My bbox is
$bbox->xl = -113;
$bbox->xr = -111;
$bbox->yt = 31;
$bbox->yb = 34;
but the Nurbs_Point x and y are floats, for example -111.972288 33.428495
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: