使用Boost库分割几何 [英] Split geometry using Boost Library

查看:1318
本文介绍了使用Boost库分割几何的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用Boost库对几何进行分割操作?

Is there any way to perform split operation on a geometry using Boost library?

推荐答案

我不知道是什么,你想拥有完全相同,但你可以检查Boost.Geometry实现的算法(的 http://www.boost.org/libs/geometry )。

I'm not sure what do you have in mind exactly but you could check the algorithms implemented in Boost.Geometry (http://www.boost.org/libs/geometry).

我猜,你可以用交会点()或差()算法实现它。

I'm guessing that you could implement it using intersection() or difference() algorithm.

这篇关于使用Boost库分割几何的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆