22 #include "pybind11/pybind11.h"
27 using namespace pybind11::literals;
34 mod.attr(
"DISJOINT") = py::cast(DISJOINT.to_ulong());
35 mod.attr(
"INTERSECTS") = py::cast(INTERSECTS.to_ulong());
36 mod.attr(
"CONTAINS") = py::cast(CONTAINS.to_ulong());
37 mod.attr(
"WITHIN") = py::cast(WITHIN.to_ulong());
39 mod.def(
"invert", &
invert,
"relationship"_a);