https://github.com/springmeyer/boost-geometry-line-clipping-testcase
https://github.com/springmeyer/boost-geometry-line-clipping-testcase
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/springmeyer/boost-geometry-line-clipping-testcase
- Owner: springmeyer
- Created: 2015-05-07T02:44:15.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-02-27T18:25:51.000Z (over 8 years ago)
- Last Synced: 2024-12-28T18:28:31.747Z (over 1 year ago)
- Language: C++
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This testcase clips a line once with a polygon and another time with a box using boost::geometry.
### Setup
Type:
```
make
```
### Bug
In some versions of boost::geometry this testcase results in:
```
clipped via polygon:
LINESTRING(-10 0,10 0)
clipped via box:
LINESTRING(-20 0)
```
This was fixed in https://github.com/boostorg/geometry/pull/329