当前位置: 动力学知识库 > 问答 > 编程问答 >

c++ - 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. 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?

分享给朋友:
您可能感兴趣的文章:
随机阅读: