问题描述:

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?

相关阅读:
Top