带多边形裁剪区域的Liang Barsky线裁剪算法
我在互联网上搜索了在二维中用多边形修剪线的方法......但没有成功。你能帮忙吗?
我的问题出在标题上。我需要用多边形剪切区域来剪切线。如果可能的话,在cpp中。
非常感谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是将一条线剪裁成多边形。您确定要使用Liang Barsky 剪辑到多边形吗?
Here's Clipping a line to a polygon. Are you sure you want to use Liang Barsky to clip to a polygon?