An open API service indexing awesome lists of open source software.

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

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