boost polygon - ObjectVision/GeoDMS GitHub Wiki

For geometric operations on vector data, the GeoDMS uses functions from two Boost libraries:

  • Boost Polygon (functions with the bp_ prefix), which works on coordinates that need to be cast to integer coordinates.
  • Boost Geometry (functions with the bg_ prefix), which also supports floating point coordinates.

For most polygon operations, the operators based on the geos library (functions with the geos_ prefix) are now advised; these also work on floating point coordinates.