This point is on the edge of these two rectangles. Is this point in the rectangle? The answer should only be always yes, or should be always no for both cases. Not yes for one and no for another.
Not yes for one and no for another.
This is what's happening in current PIP kernel.
Describe the bug Consider two axis aligned rectangle:
and a test point
(0, 0)
.This point is on the edge of these two rectangles. Is this point in the rectangle? The answer should only be always yes, or should be always no for both cases. Not yes for one and no for another.
Steps/Code to reproduce bug See test: https://github.com/rapidsai/cuspatial/blob/930a2f33953ce1abe8f0680ebbf418675db4b362/cpp/tests/experimental/spatial/point_in_polygon_test.cu#L157
Expected behavior Result should either be
b0000
orb1111
. Better still, user definable on boundary conditions.