Login  Register

Re: Suggestion: isometric grid

Posted by dxli on Nov 03, 2011; 8:29pm
URL: https://forum.librecad.org/Suggestion-isometric-grid-tp4937452p4962238.html

Actually, by implementing this feature, I fixed the algorithm of the snap to grid points function. The old algorithm searches all grid points to find the closest, i.e., O(N) complexity, or O(N^2) in grid spacing.

Now, we simply calculate the closest grid point directly, i.e., O(1) complexity.

Again, thanks for reporting!