I searched the Internet for ways to trim the line with polygon in 2D... but unsuccessfully. Could you please help?
My problem is in title. I need to clip line with polygonal clipping area. In cpp if it is possible.
Thank you very much.
Here's Clipping a line to a polygon. Are you sure you want to use Liang Barsky to clip to a polygon?