segmentation-fault with boost::polygon

后端 未结 1 1446
梦谈多话
梦谈多话 2020-12-21 10:47

I have got polygon-data which I processed. Now I want to see how well my processed data fits my original data. For this task I want to use BOOST\'s polygon set-operators. Th

相关标签:
1条回答
  • 2020-12-21 10:58

    From the documentation: http://www.boost.org/doc/libs/1_55_0/libs/polygon/doc/index.htm

    The coordinate data type is a template parameter of all data types and algorithms provided by the library, and is expected to be integral. Floating point coordinate data types are not supported by the algorithms implemented in the library due to the fact that the achieving floating point robustness implies a different set of algorithms and generally platform specific assumptions about floating point representations.

    0 讨论(0)
提交回复
热议问题