I have a set of polygons, and I want to check the intersection between it and the segment. I checked the manual but cannot find a suitable function. There is an intersection between points, lines, segments, triangles, planes. And the intersection between the polygons is also there. My question is:
- Is there such a function?
- If not, does this mean that I need to split the polygons into segments and make an intersection between these segments? (The reason I'm reluctant to do this, I thought that CGAL could actually use this method to intersect polygons. Why is there no such function to intersect a line and a polygon?) Or are there any other improvements to the way to do this?
source share