geometry
geometry copied to clipboard
Boost.Geometry - Generic Geometry Library | Requires C++14 since Boost 1.75
I have a polygon and line which intersects at the very corner, the intersection result is much larger than it should be. The godbolt repro is here: https://godbolt.org/z/TEEaqvcT1 Polygon(red) and...
Fixes issue #1250
I tried to compute the buffer of `LINESTRING(3 2, 2 2, 2 4, 4 4, 4 2, 3 1)` with a distance of 0.5, but did not get the expected...
Visual Studio 2022(2019 as well) ISO C++ 14, 17, 20 boost: 1.84.0, 1.81.0 I create a new project, CLR class Library(.NET Framework) or CLR console App(.Net Framework), and install the...
Closes https://github.com/boostorg/geometry/issues/1223
The sample code: ``` static const char p1_wkt[] = "POLYGON((-124.19999999845255 51.901455507812500, -124.19999999460376 51.935823093966235, -123.99999999648789 51.935823093966235, -123.99999999317222 51.902564290309876, -124.19999999845255 51.901455507812500))"; static const char p2_wkt[] = "POLYGON((-123.99999999367975 51.907655109375000, -123.99999999291659 51.900000006653443, -124.19999999861555 51.900000005468293,...
The following program returns true while this is clearly not the case. ```cpp #include int main() { using Point = boost::geometry::model::d2::point_xy; using Linestring = boost::geometry::model::linestring; using MultiLinestring = boost::geometry::model::multi_linestring; MultiLinestring...
The following program returns `false` while it should return `true`. ```cpp #include int main() { using NT = double; using Point = boost::geometry::model::d2::point_xy; using Polygon = boost::geometry::model::polygon; using MultiPolygon =...
The following program returns an extra point in 1.84 and develop while that was not the case in 1.77 ```cpp #include #include int main() { using Point = boost::geometry::model::d2::point_xy; using...
The following returns an invalid result in 1.84 (while returning `MULTIPOLYGON()` in `1.78`). ```cpp #include int main() { using Point = boost::geometry::model::d2::point_xy; using Polygon = boost::geometry::model::polygon; using Linestring = boost::geometry::model::linestring;...