-
Notifications
You must be signed in to change notification settings - Fork 9
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
Recoded markup_space to be a recursive function #16
Conversation
I am getting:
Where it should look like: |
The original code outputted the same result. Guessing it was bugged or something |
Ive pushed a commit that allows spaces() to search the tree recursively. |
Spaces looks and works great - thanks for doing that. I'll take a look again at markup_spaces() and see what I can do. I think I was getting closer before. |
I was afraid of this happening, but I think that I figured it out a long while ago. In For poly lines, it's going to be every control point in the line, but you get the picture. You have to see if all of the points lie inside of a given space. If it falls entirely in one, all points, it is considered to be in that space. If one of the points are outside, it is considered to be out of that space (this is how Revu works anyway). In I think we can do a comparison in this way: Let me know if you'd be up to the challenge of testing this. |
I am going to merge this pull request since it does work the way that it did before, and re-post my thoughts in an issue as a bug. |
#15