Liang Barsky line clipping algorithm with polygonal clipping area
I searched the Internet for ways to trim the line with polygon in 2D... but unsuccessfully.开发者_Python百科 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?
精彩评论