Skip to main content

Module predicate

Module predicate 

Source
Expand description

Spatial query predicates.

Mirrors boost/geometry/index/predicates.hpp. A predicate is tested against candidate values during a query walk; the tree prunes any subtree whose bounds cannot satisfy the predicate.

v1 ships the box-level predicates the pruning walk needs directly — Predicate::Intersects, Predicate::Within, Predicate::Contains. The interior/boundary DE-9IM predicates (covered_by, overlaps) layer on top once the value type carries a full geometry rather than only its bounds.

Enums§

Predicate
A spatial query against the index, expressed on bounding boxes.