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

Header-only quadtree_point_to_nearest_linestring #1005

Conversation

harrism
Copy link
Member

@harrism harrism commented Mar 23, 2023

Description

Closes #986. Depends on #979.

Checklist

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

@harrism harrism marked this pull request as ready for review March 28, 2023 05:37
@harrism harrism requested review from a team as code owners March 28, 2023 05:37
@harrism harrism requested review from thomcom, trxcllnt and isVoid March 28, 2023 05:37
@harrism harrism requested a review from a team as a code owner March 28, 2023 11:49
@github-actions github-actions bot added the Python Related to Python code label Mar 28, 2023
Copy link
Contributor

@isVoid isVoid left a comment

Choose a reason for hiding this comment

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

Very minor comments.

cpp/benchmarks/points_in_range.cu Outdated Show resolved Hide resolved
cpp/include/cuspatial/experimental/spatial_join.cuh Outdated Show resolved Hide resolved
}

template <typename T, typename LinestringRef>
inline __device__ T point_linestring_distance(vec_2d<T> const& point,
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we can simplify point_to_segment_distance_squared in linestring.cuh with this API?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I think it can be simplified, or factored in a way to maximize reuse.

cpp/src/join/quadtree_point_to_nearest_linestring.cu Outdated Show resolved Hide resolved
@harrism
Copy link
Member Author

harrism commented Mar 30, 2023

/merge

@rapids-bot rapids-bot bot merged commit fee47ef into rapidsai:branch-23.04 Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmake Related to CMake code or build configuration improvement Improvement / enhancement to an existing function libcuspatial Relates to the cuSpatial C++ library non-breaking Non-breaking change Python Related to Python code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Header-only quadtree_point_to_nearest_linestring
3 participants