Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better line clip #102

Merged
merged 2 commits into from
May 7, 2015
Merged

Better line clip #102

merged 2 commits into from
May 7, 2015

Conversation

springmeyer
Copy link
Contributor

Moves to boost::geometry::intersection instead of Clipper: the advantage is that boost::geometry::intersection preserves orientation whereas Clipper does not.

BTW, using closed linear_ring for the clipping box instead of a true box due to this bug: https://github.com/springmeyer/boost-geometry-line-clipping-testcase

springmeyer pushed a commit that referenced this pull request May 7, 2015
@springmeyer springmeyer merged commit eee59dc into master May 7, 2015
@springmeyer springmeyer deleted the better-line-clip branch May 7, 2015 16:28
springmeyer pushed a commit to mapnik/node-mapnik that referenced this pull request May 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant