Skip to content

Commit

Permalink
GmMultiPolyIntersector for python - fix CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mkennard-aquaveo committed Jan 3, 2024
1 parent 9a65a1c commit f4def6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmsgrid/python/geometry/GmMultiPolyIntersector_py.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void initGmMultiPolyIntersector(py::module &m) {
BSHP<xms::VecInt2d> vec_polys = xms::VecInt2dFromPyIter(polys);
BSHP<xms::GmMultiPolyIntersectionSorterTerse> sorter(new xms::GmMultiPolyIntersectionSorterTerse);
BSHP<xms::GmMultiPolyIntersector> rval(xms::GmMultiPolyIntersector::New(*vec_pts, *vec_polys, sorter, starting_id));
rval->SetQuery(query == 'covered_by' ? GMMPIQ_COVEREDBY : GMMPIQ_INTERSECTS);
rval->SetQuery(query == "covered_by" ? GMMPIQ_COVEREDBY : GMMPIQ_INTERSECTS);
return rval;
}), py::arg("points"), py::arg("polys"), py::arg("starting_id") = 1, py::arg("query") = 'covered_by')
.def_property("query", &xms::GmMultiPolyIntersector::GetQuery, &xms::GmMultiPolyIntersector::SetQuery);
Expand Down

0 comments on commit f4def6d

Please sign in to comment.