Skip to content

Commit e7e5240

Browse files
authored
Implement extent checks for point-polygon processes (#229)
1 parent 0dba0e6 commit e7e5240

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/methods/geom_relations/geom_geom_processors.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ function _point_polygon_process(
6565
point, polygon;
6666
in_allow, on_allow, out_allow, exact,
6767
)
68+
skip, returnval = _maybe_skip_disjoint_extents(point, polygon; in_allow, on_allow, out_allow, on_require = false, out_require = false, in_require = false)
69+
skip && return returnval
6870
# Check interaction of geom with polygon's exterior boundary
6971
ext_val = _point_filled_curve_orientation(point, GI.getexterior(polygon); exact)
7072
# If a point is outside, it isn't interacting with any holes

0 commit comments

Comments
 (0)