ajhynes7/scikit-spatial

intersection with cylinder

Jonas231 opened this issue · 3 comments

Hi,
great work.
Is it possible to add an object "cylinder" which can be oriented arbitrarily in 3d cartesian space?
Kind regards,
Jonas

Hi @Jonas231, thank you!

Sorry I just noticed this issue. I'm watching the repo now so I should get notified next time.

Sure, I think it's possible to add a Cylinder class. It might take me a while though because I'm busy working full time now. Do you want to try making a Pull Request?

Just an update - I've started work on this.

Hi @Jonas231,

Sorry this took so long. For a while I couldn't find a good method for it, so I left it for a while. But recently I found the equations to intersect a line with an infinite cylinder. This has been merged into master now.