Intersection between spline and line
See original GitHub issueHey @marcomusy
Thanks for this great package!
A simple question, is there a way to find the intersection points between a spline and line/spline in 2d/3d?
When I use the function spline_2d.intersectWithLine(p1, p2)
, I get an empty array in return. Is this because the spline is not set as a mesh?
In advance, thank you!
Regards, Eivind
Issue Analytics
- State:
- Created 2 years ago
- Comments:21 (11 by maintainers)
Top Results From Across the Web
The intersection point between a spline and a line
I'm trying to find a way to calculate the intersection between a b-spline and a straight line. So far Google hasn't been much...
Read more >Intersection coordinates between line and spline fitted curve
Hello, I am trying to do a similar thing to the request posted here: Intersection of a spline fitted curve and a straight...
Read more >Intersection between spline and a line - MATLAB Answers
I'm having trouble using this data which is held in a struct with form : 'pp' to find the intersection points with other...
Read more >Intersecting two splines - Medium
There are mainly two approaches for spline-spline intersections: implicitization and subdivision. The former transforms the problem into a ...
Read more >intersection of a closed-spline and a line - Math Stack Exchange
1 Answer 1 ... Plug your spline equations into a line equation of the form ax+by+c=0, and you will get a polynomial equation...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @marcomusy !
uhm, i’m not sure … it doesn’t look an analytic solution though as it uses
minimize
: https://github.com/xingjiepan/cylinder_fitting/blob/f96d79732bc49cbc0cb4b39f008af7ce42aeb213/cylinder_fitting/fitting.py#L105