boost :: geometry :: difference提供具有属性的自定义点 [英] boost::geometry::difference providing custom point with attributes

查看:246
本文介绍了boost :: geometry :: difference提供具有属性的自定义点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用具有多边形属性的2D点.

I'd like to use 2D points with attributes for the polygons.

应根据某种策略将属性分配给任何新点.

The attributes should be assigned to any new points according to some kind of strategy.

您知道是否可行以及如何做到? 是否有任何文档描述该怎么做?

Do you know if it is possible and how to do it? Is there any doc describing how to do it?

推荐答案

上次我查看了事实证明它是不可能的.这是因为该库确实使用可用的(访问者)特征来构造新点.

Last time I looked at things it proved impossible. That's because the library does construct new points using the available (accessor) traits.

类似/相关问题:

实际上,让我欺骗投票吧!

In fact, let me dupe-vote that!

这篇关于boost :: geometry :: difference提供具有属性的自定义点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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