-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add arcCCW and friends. Fix offset joins. #221
Conversation
These variants for arc creation hide the complexity of angles and orderings between them and instead always gives an arc in a fixed direction (clockwise "CW" or counterclockwise "CCW") from some start angle or direction to an end angle or direction.
I think we should only use the Also I think a |
What would |
|
The |
Perhaps it would make sense to make |
For such a low level function that's prone to bugs/confusion I'd prefer it was limited to |
That's fine with me, but I don't really have time right now to do anything. I'm happy with just using the names |
Cool. I'll just change the names and merge for now. We can simplify later. |
Great. The code for my tests is here: https://gist.github.com/fryguybob/93e71378d5868338f2d1 |
Thanks. I made it simpler and made some changes to |
Add arcCCW and friends. Fix offset joins.
These variants for arc creation hide the complexity of angles and
orderings between them and instead always gives an arc in a fixed
direction (clockwise "CW" or counterclockwise "CCW") from some start
angle or direction to an end angle or direction.
There is a possibility that
arcDCCW
andarcDCW
could be constrained byHasTheta
instead of a direction, but that broke inference for me and I didn't play around with it after that.