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

Adding Spherical Surface Processing Capability to Point-in-Polygon Queries #1212

Merged
merged 35 commits into from
Aug 3, 2023
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c495f34
adding spherical point-in-polygon kernel
Jun 27, 2023
f0c6aaa
adding spherifal pip test and fixing vector issues
Jun 27, 2023
0a7c4f4
Merge branch 'rapidsai:branch-23.08' into branch-23.08
ayasar70 Jun 27, 2023
4758f80
lint check
Jun 27, 2023
35dd52c
Sync merge branch 'branch-23.08' of github.com:ayasar70/cuspatial int…
Jun 27, 2023
0fe74be
Merge branch 'rapidsai:branch-23.08' into branch-23.08
ayasar70 Jul 7, 2023
454a421
minor: updating commit
Jul 7, 2023
879eee4
Merge branch 'rapidsai:branch-23.08' into branch-23.08
ayasar70 Jul 24, 2023
ebab6fe
Update cpp/include/cuspatial/geometry/vec_3d.hpp
ayasar70 Jul 24, 2023
d2182ac
cleaning unused methods under vec_3d
Jul 24, 2023
2589345
Merge branch 'rapidsai:branch-23.08' into branch-23.08
ayasar70 Jul 26, 2023
da97435
fixing issues related to rings adding tests
Jul 27, 2023
03ccf3d
Update cpp/include/cuspatial/detail/algorithm/is_point_in_polygon.cuh
ayasar70 Jul 31, 2023
796e11e
Update cpp/include/cuspatial/detail/algorithm/is_point_in_polygon.cuh
ayasar70 Jul 31, 2023
f8de44b
Update cpp/include/cuspatial/detail/algorithm/is_point_in_polygon.cuh
ayasar70 Jul 31, 2023
a67b548
Update cpp/include/cuspatial/geometry/vec_3d.hpp
ayasar70 Jul 31, 2023
05bccda
Update cpp/include/cuspatial/detail/algorithm/is_point_in_polygon.cuh
ayasar70 Jul 31, 2023
9ee5b66
Merge branch 'rapidsai:branch-23.08' into branch-23.08
ayasar70 Jul 31, 2023
6e40f3e
addresing a couple of reviews
Jul 31, 2023
7eeca08
Update cpp/include/cuspatial/geometry/vec_3d.hpp
ayasar70 Jul 31, 2023
7a91bea
update comment on vec_3d caused by copying the vec_2d class
Jul 31, 2023
d3df234
Merge branch 'rapidsai:branch-23.08' into branch-23.08
ayasar70 Jul 31, 2023
e3b139c
Merge branch 'branch-23.08' of github.com:ayasar70/cuspatial into bra…
Jul 31, 2023
7eba466
Update cpp/include/cuspatial/detail/geometry/polygon_ref.cuh
ayasar70 Jul 31, 2023
383a46d
Merge branch 'rapidsai:branch-23.08' into branch-23.08
ayasar70 Aug 2, 2023
c519c56
adding comment about assumption that all vertices and points are on t…
Aug 2, 2023
1928b8f
fixing strict dot product check that was ignoring points on the other…
Aug 2, 2023
ec2107c
minor fix and adding a new test
Aug 2, 2023
65c9da5
Update cpp/include/cuspatial/geometry/vec_3d.hpp
harrism Aug 2, 2023
8ab4c9a
Update cpp/include/cuspatial/detail/algorithm/is_point_in_polygon.cuh
harrism Aug 2, 2023
872738d
Merge branch 'branch-23.08' into branch-23.08
harrism Aug 2, 2023
ecdace2
style fix
Aug 2, 2023
d368eee
Merge branch 'branch-23.08' of github.com:ayasar70/cuspatial into bra…
Aug 2, 2023
57cbd04
Merge branch 'branch-23.08' into branch-23.08
isVoid Aug 3, 2023
7d3042b
style fix
isVoid Aug 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update cpp/include/cuspatial/detail/algorithm/is_point_in_polygon.cuh
Co-authored-by: Mark Harris <783069+harrism@users.noreply.github.com>
  • Loading branch information
ayasar70 and harrism authored Jul 31, 2023
commit 05bccdab34c29a1dade88bd6ec722c760c478d67
13 changes: 5 additions & 8 deletions cpp/include/cuspatial/detail/algorithm/is_point_in_polygon.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,11 @@ __device__ inline bool is_point_in_polygon(vec_2d<T> const& test_point, PolygonR
return point_is_within;
}

/** @brief check if p3 is on the left side of the arc that is
* defined but p1 and p2
* @note: T can be float or double and T4 can be float4 or double4
* @param p1: first point of an arc
* @param p2: second point af an arc
* @param p3: a point to check
* @return bool
*/
/**
* @internal
* @brief Return true if point p3 is on the left side of the segment or geodesic arc that is defined
* by points p1 and p2.
*/
template <typename T>
__device__ bool is_left(vec_3d<T> const p1, vec_3d<T> const& p2, vec_3d<T> const& p3)
isVoid marked this conversation as resolved.
Show resolved Hide resolved
{
Expand Down