I’m working on an answer, currently I have similar problem. Probably I’ll use CGAL or some other library. I’ll post you a code when I finish.
I’m working on an answer, currently I have similar problem. Probably I’ll use CGAL or some other library. I’ll post you a code when I finish.