22 #include "pybind11/pybind11.h" 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);
PYBIND11_MODULE(camera, mod)
Relationship invert(Relationship r)
Given the relationship between two sets A and B (i.e.
A base class for image defects.