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

No Intersections for intersectBezier3Bezier3 Edge Case #17

Closed
Shkyrockett opened this issue Aug 10, 2017 · 3 comments
Closed

No Intersections for intersectBezier3Bezier3 Edge Case #17

Shkyrockett opened this issue Aug 10, 2017 · 3 comments

Comments

@Shkyrockett
Copy link

Hi, while porting your code to c# and writing test cases, I ran across this weird little edge case to Intersection.intersectBezier3Bezier3 that I thought you might be interested in.

Here is the geometry in svg form:

<svg xmlns="http://www.w3.org/2000/svg">
    <path gui:edit="editable" d="M150,150 C183.33333333333331,216.66666666666663 233.33333333333337,216.66666666666663 300,150" stroke="blue" stroke-width="5" fill="none"/>
    <path gui:edit="editable" d="M100,200 C166.66666666666663,133.33333333333337 233.33333333333337,133.33333333333337 300,200" stroke="orange" stroke-width="5" fill="none"/>
</svg>

Here are the current results:

nointersection

@thelonious
Copy link
Owner

Thanks for this. I was able to recreate the issue with the latest code here. If this is a show stopper for you, then you may want to consider the approach used in this example.

@thelonious
Copy link
Owner

@Shkyrockett I was able to hunt down the issue that was causing this to fail. I've pushed a 0.4.1 release to npm. I'm going to go ahead and close this. Please re-open if you're still seeing issues. Thanks!

@Shkyrockett
Copy link
Author

@thelonious Nice work!

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

No branches or pull requests

2 participants