boost::geometry::difference providing custom point with attributes [duplicate]

爱⌒轻易说出口 提交于 2019-12-11 16:27:43

问题


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?


回答1:


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

Similar/related questions:

  • ID field intermittently lost in custom point class

In fact, let me dupe-vote that!



来源:https://stackoverflow.com/questions/49451296/boostgeometrydifference-providing-custom-point-with-attributes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!