Skip to content

feat(vortex-geo): add intersection scalar function - #9220

Open
HarukiMoriarty wants to merge 17 commits into
nemo/geo-convex-hullfrom
nemo/geo-intersection-native
Open

feat(vortex-geo): add intersection scalar function#9220
HarukiMoriarty wants to merge 17 commits into
nemo/geo-convex-hullfrom
nemo/geo-intersection-native

Conversation

@HarukiMoriarty

@HarukiMoriarty HarukiMoriarty commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Stacked on #9219.

Summary

  • add native polygonal intersection overloads backed by geo::BooleanOps: Polygon × Polygon, Polygon × MultiPolygon, MultiPolygon × Polygon, and MultiPolygon × MultiPolygon
  • return a native 2D MultiPolygon for every overload
  • preserve constant/column execution and strict null propagation through the existing binary dispatcher
  • add Q9-oriented coverage for overlap, disjoint, boundary-touching, holes, constants, nulls, and all four input-type combinations
  • add focused rectangle and detailed-boundary microbenchmarks

NaN/invalid-coordinate checking remains outside the default execution path, consistent with the rest of the native geo scalar stack.

@codspeed-hq

codspeed-hq Bot commented Aug 5, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 1954 untouched benchmarks
🆕 3 new benchmarks
⏩ 85 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
🆕 Simulation nullable_rectangles N/A 12.1 ms N/A
🆕 Simulation rectangles N/A 13 ms N/A
🆕 Simulation thirty_two_vertex_boundaries N/A 52.2 ms N/A

Comparing nemo/geo-intersection-native (98c9246) with nemo/geo-convex-hull (d705823)

Open in CodSpeed

Footnotes

  1. 85 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@HarukiMoriarty
HarukiMoriarty force-pushed the nemo/geo-intersection-native branch from af47d2b to f2b5e90 Compare August 6, 2026 14:41
@HarukiMoriarty
HarukiMoriarty force-pushed the nemo/geo-intersection-native branch from f2b5e90 to 0da3ab6 Compare August 6, 2026 17:58
@HarukiMoriarty
HarukiMoriarty force-pushed the nemo/geo-intersection-native branch from 0da3ab6 to 17b600b Compare August 6, 2026 20:13
@HarukiMoriarty
HarukiMoriarty force-pushed the nemo/geo-intersection-native branch from 17b600b to fc74be9 Compare August 6, 2026 20:15
@HarukiMoriarty
HarukiMoriarty force-pushed the nemo/geo-intersection-native branch from fc74be9 to f105b5f Compare August 7, 2026 13:52
@HarukiMoriarty
HarukiMoriarty force-pushed the nemo/geo-intersection-native branch from f105b5f to 59b6720 Compare August 7, 2026 14:44
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
@HarukiMoriarty
HarukiMoriarty force-pushed the nemo/geo-intersection-native branch 3 times, most recently from bf8f141 to 5c55498 Compare August 7, 2026 18:44
@HarukiMoriarty
HarukiMoriarty force-pushed the nemo/geo-intersection-native branch from 5c55498 to 98c9246 Compare August 7, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant