geometry
geometry copied to clipboard
Boost.Geometry - Generic Geometry Library | Requires C++14 since Boost 1.75
We have the following example ```cpp #include #include #include #include namespace bg = boost::geometry; namespace bm = bg::model::d2; namespace srs = bg::srs; //using Pt = bm::point_xy; using Pt = bm::point_xy;...
I don't manage to use 'point_on_surface'. (Maybe I don't use the right method??) ``` typedef boost::geometry::model::point BGPoint; boost::geometry::model::polygon poly; // ... BGPoint point; boost::geometry::point_on_surface(poly, point); ``` It does not build...
Hi, I have a very weird problem regarding `boost::geometry::union_`. I'm using: * x64 * Ubuntu 20.04 * libboost1.71-dev:amd64 * gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 I'm trying to take a union of...
This PR enables testing in circleCI the C++17 dependent code, following the discussion here: https://github.com/boostorg/geometry/pull/1265#discussion_r1544804957
This PR intents to prevent a maybe uninitialized warning that appear with recent versions of gcc (11 and 12).
Dear friends, I am trying to extern template instantiate the boost::geometry::rtree with boost::interprocess allocator, since I need it in multiple translation units and the (very appreciated) rtree implementation generates a...
Currently it fails to compile due to multiple return types.
Is there a way to use boost.geometry closest_points in VS2015(C++14 partly)? Or other possible library has similar function with boost.geometry closest_points? Because I indeed need to develop in the enviroment...
Hello The following code give "POLYGON((0 0,0 1,1 1,1 0))" I expected "POLYGON((0 0,0 1,1 1,1 0, 0 0))" the last point was not repeated. A ring is supposed to...
@vissarion @barendgehrels This is a continuation of issue #1161 which was only partially fixed. The code below fails if the geometry contains latitude -90 or 90. Tested on boost 1.85....