Skip to content
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

Attempt to fix some issues with Bezier intersections. #325

Merged
merged 3 commits into from
Mar 9, 2019

Conversation

fryguybob
Copy link
Member

There are several issues with the code for Bezier
Bezier intersections right now. This tries to fix
some of them. I haven't been able to test yet due
to my ghc/cabal being ... interesting.

This should fix #323 (I payed attention to the issue text this time :D).

There are several issues with the code for Bezier
Bezier intersections right now.  This tries to fix
some of them.  I haven't been able to test yet due
to my ghc/cabal being ... interesting.
@byorgey
Copy link
Member

byorgey commented Mar 6, 2019

Do you need help testing it?

@fryguybob
Copy link
Member Author

I was able to test against the original issue code, now I just need to validate against any tests we have that use intersections.

A simple test that validates that the parameters returned match the
points at those parameters.  Not included is any test of false
negative intersections (empty list of intersections).
@fryguybob
Copy link
Member Author

This passed the test I wrote. If someone wants to look over that to make sure I haven't done something silly, then this can be merged.

@byorgey byorgey merged commit b6e4837 into diagrams:master Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

segmentSegment can fail to terminate on very specific and seemingly innocuous inputs
2 participants