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.

The built-in Predicate covers Boost’s box-query relations. The QueryPredicate trait also supports Boost’s logical and, not, and satisfies predicates without giving up subtree pruning.

Structs§

AndPredicate
The conjunction of two query predicates.
NotPredicate
The logical negation of a query predicate.
Satisfies
A value-level query condition corresponding to Boost’s index::satisfies predicate.

Enums§

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

Traits§

QueryPredicate
A predicate accepted by Rtree::query_with.

Functions§

and
Combine two query predicates with logical conjunction.
not
Negate a query predicate.
satisfies
Build a value-level satisfies query predicate.