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

Improve line intersection code #468

Merged
merged 10 commits into from
Sep 2, 2019

Conversation

dr-jts
Copy link
Contributor

@dr-jts dr-jts commented Sep 2, 2019

Refactor line intersection code into Intersection class.
Use new class for all line intersection computation
Unroll input conditioning for performance
Add tests to verify accuracy of conditioned double-precision intersection algorithm

Fixes #464

Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Replace CGAlgorithmsDD.intersection with faster code

Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
@dr-jts dr-jts merged commit 0f015c9 into locationtech:master Sep 2, 2019
@dr-jts dr-jts deleted the fix-line-intersection branch September 2, 2019 17:18
@dr-jts
Copy link
Contributor Author

dr-jts commented Sep 2, 2019

Fixes #464

pramsey added a commit to pramsey/geos that referenced this pull request Sep 5, 2019
locationtech/jts#468

Refactor line intersection code into Intersection class.
Use new class for all line intersection computation
Unroll input conditioning for performance
Add tests to verify accuracy of conditioned double-precision intersection algorithm
strk pushed a commit to libgeos/geos that referenced this pull request Sep 6, 2019
locationtech/jts#468

Refactor line intersection code into Intersection class.
Use new class for all line intersection computation
Unroll input conditioning for performance
Add tests to verify accuracy of conditioned double-precision intersection algorithm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Precision issue with LineSegment.lineIntersection(LineSegment)
1 participant