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

Introduce multilinestring_range structure, simplifies point-linestring distance API #747

Merged
merged 38 commits into from
Oct 28, 2022

Conversation

isVoid
Copy link
Contributor

@isVoid isVoid commented Oct 20, 2022

Description

Follow up to #731 , this PR introduces a new range object named multilinestring_range and simplifies the point-linestring distance API. Closes #705 .

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

isVoid and others added 28 commits October 4, 2022 16:50
Co-authored-by: H. Thomson Comer <thomcom@gmail.com>
@isVoid isVoid requested a review from a team as a code owner October 20, 2022 20:01
@isVoid isVoid requested a review from trxcllnt October 20, 2022 20:01
Comment on lines +104 to +105
return multipoint_ref<VecIterator>{_points_begin + _geometry_begin[idx],
_points_begin + _geometry_begin[idx + 1]};
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to revert this change in #731 because I need to use this method in device code. The previous proposal requires creating a transform iterator and dereference it. Not all code path is available on device and is expensive.

@isVoid isVoid added feature request New feature or request breaking Breaking change labels Oct 20, 2022
Copy link
Member

@harrism harrism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome functionality to make life easier and reduce bugs.

@isVoid isVoid requested a review from harrism October 27, 2022 00:21
Copy link
Member

@harrism harrism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

…e.cuh

Co-authored-by: Mark Harris <mharris@nvidia.com>
Copy link
Contributor

@thomcom thomcom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

@isVoid isVoid requested a review from thomcom October 28, 2022 02:14
@thomcom
Copy link
Contributor

thomcom commented Oct 28, 2022

Approvin

@isVoid isVoid added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 3 - Ready for Review Ready for review by team labels Oct 28, 2022
@isVoid
Copy link
Contributor Author

isVoid commented Oct 28, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 928b6ea into rapidsai:branch-22.12 Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge breaking Breaking change feature request New feature or request libcuspatial Relates to the cuSpatial C++ library
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Simplify header-only point_linestring_distance API
3 participants