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

Add PointLocation.isOnSegment function #1048

Merged
merged 4 commits into from
Apr 11, 2024

Conversation

dr-jts
Copy link
Contributor

@dr-jts dr-jts commented Apr 11, 2024

Adds the function PointLocation.isOnSegment to improve modularization and usability of the functionality for testing whether a point lies on a line segment.

Updates the code base to use this function. This replaces the RobustLineIntersector.computeIntersection approach.

@dr-jts dr-jts self-assigned this Apr 11, 2024
@dr-jts dr-jts merged commit 6cb096b into locationtech:master Apr 11, 2024
2 checks passed
@dr-jts dr-jts deleted the add-point-on-segment-fn branch April 11, 2024 02:45
@jodygarnett jodygarnett added this to the 1.20.0 milestone Aug 22, 2024
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.

2 participants