Skip to content

Commit

Permalink
Implement extent checks for point-polygon processes
Browse files Browse the repository at this point in the history
This should ideally test whether that introduces any bugs.
  • Loading branch information
asinghvi17 authored Oct 25, 2024
1 parent 9fcf9b7 commit 3e2c3c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/methods/geom_relations/geom_geom_processors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ function _point_polygon_process(
point, polygon;
in_allow, on_allow, out_allow, exact,
)
skip, returnval = _maybe_skip_disjoint_extents(point, polygon; in_allow, on_allow, out_allow, on_require = false, out_require = false, in_require = false)
skip && return returnval
# Check interaction of geom with polygon's exterior boundary
ext_val = _point_filled_curve_orientation(point, GI.getexterior(polygon); exact)
# If a point is outside, it isn't interacting with any holes
Expand Down

0 comments on commit 3e2c3c2

Please sign in to comment.