vibespatial.predicates.point_location_index¶
Reusable exact y-edge directory for point-in-polygon refinement.
This is a physical metadata carrier, not a public spatial index. It is cached
on the polygon OwnedGeometryDeviceState and reused by repeated public
sindex.query calls. Eight y bins per polygon part reduce exact ray-cast
work without duplicating geometry coordinates or changing predicate semantics.
Classes¶
Device-resident edge memberships grouped by polygon-part y bin. |
Functions¶
Compile profiler-only entry points outside production warmup. |
|
|
Build or return the cached exact part-y edge directory. |
|
Prepare large polygon sides before candidate arrays consume the budget. |
Module Contents¶
- class vibespatial.predicates.point_location_index.PreparedPolygonPartYIndex¶
Device-resident edge memberships grouped by polygon-part y bin.
- geometry_count: int¶
- part_count: int¶
- bin_count: int¶
- edge_membership_count: int¶
- part_ymin: object¶
- part_ymax: object¶
- counts: object¶
- offsets: object¶
- entries: object¶
- property device_bytes: int¶
- vibespatial.predicates.point_location_index.point_location_part_y_index_kernels()¶
- vibespatial.predicates.point_location_index.point_location_part_y_index_profile_kernels()¶
Compile profiler-only entry points outside production warmup.
- vibespatial.predicates.point_location_index.prepare_polygon_part_y_index(owned, family: vibespatial.geometry.buffers.GeometryFamily)¶
Build or return the cached exact part-y edge directory.
- vibespatial.predicates.point_location_index.prepare_point_region_y_indexes(left_owned, right_owned) None¶
Prepare large polygon sides before candidate arrays consume the budget.