| 480 | |
| 481 | private: |
| 482 | bool InsertIntoTree(const OGREnvelope &oGeomExtent, std::uintptr_t i) |
| 483 | { |
| 484 | GEOSGeometry *poEnv = CreateGEOSEnvelope(oGeomExtent); |
| 485 | if (poEnv == nullptr) |
| 486 | { |
| 487 | return false; |
| 488 | } |
| 489 | GEOSSTRtree_insert_r(m_geosContext, m_poTree, poEnv, |
| 490 | reinterpret_cast<void *>(i)); |
| 491 | GEOSGeom_destroy_r(m_geosContext, poEnv); |
| 492 | |
| 493 | return true; |
| 494 | } |
| 495 | |
| 496 | bool BuildTree() |
| 497 | { |
nothing calls this directly
no test coverage detected