Skip to content

Commit 8c605ea

Browse files
committed
šŸ› Fix pip_query function to use correct polygon data for point containment check
1 parent d8e37a0 commit 8c605ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ā€Žsrc/polygon.jlā€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function pip_query(
3333
edge ::Bool=false
3434
)
3535
func = edge ? shapely.intersects_xy : shapely.contains_xy
36-
return py2ju(Bool, func(polygon.py_xy, px, py).item())
36+
return py2ju(Bool, func(polygon.polygon, px, py).item())
3737
end
3838

3939
"""

0 commit comments

Comments
Ā (0)