43 std::vector<SpatialIndex::id_type> ids;
81 nextEntry = m_ids.front(); m_ids.pop();
99 std::copy(v.begin(), v.end(), ids.begin());
113 ids.resize(other.ids.size());
114 std::copy(other.ids.begin(), other.ids.end(), ids.begin());
117 bounds = other.bounds->
clone();
124 ids.resize(rhs.ids.size());
125 std::copy(rhs.ids.begin(), rhs.ids.end(), ids.begin());
127 bounds = rhs.bounds->
clone();
LeafQueryResult get_results(const SpatialIndex::INode *n)
LeafQueryResult & operator=(LeafQueryResult const &rhs)
Assignment operator.
void SetBounds(const SpatialIndex::Region *b)
const SpatialIndex::Region * GetBounds() const
std::vector< SpatialIndex::id_type > const & GetIDs() const
void SetIDs(std::vector< SpatialIndex::id_type > &v)
void getNextEntry(const SpatialIndex::IEntry &entry, SpatialIndex::id_type &nextEntry, bool &hasNext)
virtual void getShape(IShape **out) const =0
virtual id_type getIdentifier() const =0
virtual uint32_t getChildrenCount() const =0
virtual uint32_t getLevel() const =0
virtual id_type getChildIdentifier(uint32_t index) const =0
virtual bool isLeaf() const =0
Region * clone() override