/dports/devel/spatialindex/spatialindex-src-1.8.5/src/spatialindex/ |
H A D | SpatialIndexImpl.cc | 33 SpatialIndex::InvalidPageException::InvalidPageException(id_type id) in InvalidPageException() 40 std::string SpatialIndex::InvalidPageException::what() in what() 45 std::ostream& SpatialIndex::operator<<(std::ostream& os, const ISpatialIndex& i) in operator <<() 47 const SpatialIndex::RTree::RTree* pRTree = dynamic_cast<const SpatialIndex::RTree::RTree*>(&i); in operator <<() 54 …const SpatialIndex::MVRTree::MVRTree* pMVRTree = dynamic_cast<const SpatialIndex::MVRTree::MVRTree… in operator <<() 61 …const SpatialIndex::TPRTree::TPRTree* pTPRTree = dynamic_cast<const SpatialIndex::TPRTree::TPRTree… in operator <<() 72 std::ostream& SpatialIndex::operator<<(std::ostream& os, const IStatistics& s) in operator <<() 74 …const SpatialIndex::RTree::Statistics* pRTreeStats = dynamic_cast<const SpatialIndex::RTree::Stati… in operator <<() 81 …const SpatialIndex::MVRTree::Statistics* pMVRTreeStats = dynamic_cast<const SpatialIndex::MVRTree:… in operator <<() 88 …const SpatialIndex::TPRTree::Statistics* pTPRTreeStats = dynamic_cast<const SpatialIndex::TPRTree:… in operator <<()
|
H A D | LineSegment.cc | 34 using namespace SpatialIndex; 429 …e LineSegment::doubleAreaTriangle(const SpatialIndex::Point &a, const SpatialIndex::Point &b, cons… in doubleAreaTriangle() 436 bool LineSegment::leftOf(const SpatialIndex::Point &a, const SpatialIndex::Point &b, const SpatialI… in leftOf() 441 bool LineSegment::collinear(const SpatialIndex::Point &a, const SpatialIndex::Point &b, const Spati… in collinear() 446 …::intersectsProper(const SpatialIndex::Point &a, const SpatialIndex::Point &b, const SpatialIndex:… in intersectsProper() 456 bool LineSegment::between(const SpatialIndex::Point &a, const SpatialIndex::Point &b, const Spatial… in between() 474 …egment::intersects(const SpatialIndex::Point &a, const SpatialIndex::Point &b, const SpatialIndex:… in intersects() 487 std::ostream& SpatialIndex::operator<<(std::ostream& os, const LineSegment& l) in operator <<()
|
/dports/devel/spatialindex/spatialindex-src-1.8.5/include/spatialindex/capi/ |
H A D | LeafQuery.h | 35 class SIDX_DLL LeafQuery : public SpatialIndex::IQueryStrategy 38 std::queue<SpatialIndex::id_type> m_ids; 44 void getNextEntry( const SpatialIndex::IEntry& entry, 45 SpatialIndex::id_type& nextEntry, 53 std::vector<SpatialIndex::id_type> ids; 54 SpatialIndex::Region* bounds; 55 SpatialIndex::id_type m_id; 67 std::vector<SpatialIndex::id_type> const& GetIDs() const; 68 void SetIDs(std::vector<SpatialIndex::id_type>& v); 69 const SpatialIndex::Region* GetBounds() const; [all …]
|
H A D | Index.h | 38 …Index(const Tools::PropertySet& poProperties, int (*readNext)(SpatialIndex::id_type *id, double **… 62 SpatialIndex::ISpatialIndex& index() {return *m_rtree;} in index() 63 SpatialIndex::StorageManager::IBuffer& buffer() {return *m_buffer;} in buffer() 71 SpatialIndex::IStorageManager* m_storage; 72 SpatialIndex::StorageManager::IBuffer* m_buffer; 73 SpatialIndex::ISpatialIndex* m_rtree; 78 SpatialIndex::IStorageManager* CreateStorage(); 79 … SpatialIndex::StorageManager::IBuffer* CreateIndexBuffer(SpatialIndex::IStorageManager& storage); 80 SpatialIndex::ISpatialIndex* CreateIndex();
|
H A D | ObjVisitor.h | 33 class SIDX_DLL ObjVisitor : public SpatialIndex::IVisitor 36 std::vector<SpatialIndex::IData*> m_vector; 45 std::vector<SpatialIndex::IData*>& GetResults() { return m_vector; } in GetResults() 47 void visitNode(const SpatialIndex::INode& n); 48 void visitData(const SpatialIndex::IData& d); 49 void visitData(std::vector<const SpatialIndex::IData*>& v);
|
H A D | DataStream.h | 33 class SIDX_DLL DataStream : public SpatialIndex::IDataStream 36 …DataStream(int (*readNext)(SpatialIndex::id_type* id, double **pMin, double **pMax, uint32_t *nDim… 39 SpatialIndex::IData* getNext(); 46 SpatialIndex::RTree::Data* m_pNext; 47 SpatialIndex::id_type m_id; 50 …int (*iterfunct)(SpatialIndex::id_type *id, double **pMin, double **pMax, uint32_t *nDimension, co…
|
H A D | BoundsQuery.h | 33 class SIDX_DLL BoundsQuery : public SpatialIndex::IQueryStrategy 36 SpatialIndex::Region* m_bounds; 42 void getNextEntry( const SpatialIndex::IEntry& entry, 43 SpatialIndex::id_type& nextEntry, 46 SpatialIndex::Region* GetBounds() const { return m_bounds; } in GetBounds()
|
H A D | CountVisitor.h | 33 class SIDX_DLL CountVisitor : public SpatialIndex::IVisitor 45 void visitNode(const SpatialIndex::INode& n); 46 void visitData(const SpatialIndex::IData& d); 47 void visitData(std::vector<const SpatialIndex::IData*>& v);
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/tests/ |
H A D | rtree-performance-test.cpp | 47 SpatialIndex::id_type indexID; 53 SpatialIndex::ISpatialIndex *tree; 55 SpatialIndex::id_type test_indexID; 65 void visitNode(const SpatialIndex::INode& n){ in visitNode() 68 void visitData(const SpatialIndex::IData& d){ in visitData() 178 SpatialIndex::IStorageManager *mem_mngr; in main() 182 …tree = SpatialIndex::RTree::createNewRTree(*mem_mngr, 0.7, 25, 25, 2, SpatialIndex::RTree::RV_RSTA… in main() 257 SpatialIndex::Region search_region = SpatialIndex::Region(plow, phigh, 2); in main() 277 SpatialIndex::Region search_region_2 = SpatialIndex::Region(plow, phigh, 2); in main() 318 SpatialIndex::Region r = SpatialIndex::Region(plow, phigh, 2); in add_rectangle() [all …]
|
/dports/math/lib2geom/lib2geom-1.1/tests/ |
H A D | rtree-performance-test.cpp | 47 SpatialIndex::id_type indexID; 53 SpatialIndex::ISpatialIndex *tree; 55 SpatialIndex::id_type test_indexID; 65 void visitNode(const SpatialIndex::INode& n){ in visitNode() 68 void visitData(const SpatialIndex::IData& d){ in visitData() 178 SpatialIndex::IStorageManager *mem_mngr; in main() 182 …tree = SpatialIndex::RTree::createNewRTree(*mem_mngr, 0.7, 25, 25, 2, SpatialIndex::RTree::RV_RSTA… in main() 257 SpatialIndex::Region search_region = SpatialIndex::Region(plow, phigh, 2); in main() 277 SpatialIndex::Region search_region_2 = SpatialIndex::Region(plow, phigh, 2); in main() 318 SpatialIndex::Region r = SpatialIndex::Region(plow, phigh, 2); in add_rectangle() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/src/core/ |
H A D | qgsgenericspatialindex.h | 65 const SpatialIndex::Region r( QgsSpatialIndexUtils::rectangleToRegion( bounds ) ); in insert() 144 …std::unique_ptr< SpatialIndex::ISpatialIndex > createSpatialIndex( SpatialIndex::IStorageManager &… in createSpatialIndex() 151 constexpr SpatialIndex::RTree::RTreeVariant variant = SpatialIndex::RTree::RV_RSTAR; in createSpatialIndex() 154 SpatialIndex::id_type indexId; in createSpatialIndex() 155 …return std::unique_ptr< SpatialIndex::ISpatialIndex >( SpatialIndex::RTree::createNewRTree( storag… in createSpatialIndex() 159 std::unique_ptr< SpatialIndex::IStorageManager > mStorageManager; 160 std::unique_ptr< SpatialIndex::ISpatialIndex > mRTree; 169 class GenericIndexVisitor : public SpatialIndex::IVisitor 177 void visitNode( const SpatialIndex::INode &n ) override in visitNode() 180 void visitData( const SpatialIndex::IData &d ) override in visitData() [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/ |
H A D | qgsgenericspatialindex.h | 65 SpatialIndex::Region r( QgsSpatialIndexUtils::rectangleToRegion( bounds ) ); in insert() 144 …std::unique_ptr< SpatialIndex::ISpatialIndex > createSpatialIndex( SpatialIndex::IStorageManager &… in createSpatialIndex() 151 constexpr SpatialIndex::RTree::RTreeVariant variant = SpatialIndex::RTree::RV_RSTAR; in createSpatialIndex() 154 SpatialIndex::id_type indexId; in createSpatialIndex() 155 …return std::unique_ptr< SpatialIndex::ISpatialIndex >( SpatialIndex::RTree::createNewRTree( storag… in createSpatialIndex() 159 std::unique_ptr< SpatialIndex::IStorageManager > mStorageManager; 160 std::unique_ptr< SpatialIndex::ISpatialIndex > mRTree; 169 class GenericIndexVisitor : public SpatialIndex::IVisitor 177 void visitNode( const SpatialIndex::INode &n ) override in visitNode() 180 void visitData( const SpatialIndex::IData &d ) override in visitData() [all …]
|
/dports/devel/spatialindex/spatialindex-src-1.8.5/src/capi/ |
H A D | LeafQuery.cc | 36 LeafQueryResult get_results(const SpatialIndex::INode* n) in get_results() 40 SpatialIndex::IShape* ps; in get_results() 42 SpatialIndex::Region* pr = dynamic_cast<SpatialIndex::Region*>(ps); in get_results() 43 std::vector<SpatialIndex::id_type> ids; in get_results() 55 void LeafQuery::getNextEntry( const SpatialIndex::IEntry& entry, in getNextEntry() 56 SpatialIndex::id_type& nextEntry, in getNextEntry() 60 const SpatialIndex::INode* n = dynamic_cast<const SpatialIndex::INode*>(&entry); in getNextEntry() 92 void LeafQueryResult::SetIDs(std::vector<SpatialIndex::id_type>& v) in SetIDs() 97 const SpatialIndex::Region* LeafQueryResult::GetBounds() const in GetBounds() 102 void LeafQueryResult::SetBounds(const SpatialIndex::Region* b) in SetBounds() [all …]
|
H A D | ObjVisitor.cc | 37 std::vector<SpatialIndex::IData*>::iterator it; in ~ObjVisitor() 44 void ObjVisitor::visitNode(const SpatialIndex::INode& ) in visitNode() 48 void ObjVisitor::visitData(const SpatialIndex::IData& d) in visitData() 51 …SpatialIndex::IData* item = dynamic_cast<SpatialIndex::IData*>(const_cast<SpatialIndex::IData&>(d)… in visitData() 58 void ObjVisitor::visitData(std::vector<const SpatialIndex::IData*>& ) in visitData()
|
H A D | DataStream.cc | 32 DataStream::DataStream(int (*readNext)(SpatialIndex::id_type * id, in DataStream() 54 SpatialIndex::id_type id; in readData() 75 SpatialIndex::Region r = SpatialIndex::Region(pMin, pMax, nDimension); in readData() 78 m_pNext = new SpatialIndex::RTree::Data(nDataLength, p_data, r, id); in readData() 84 SpatialIndex::IData* DataStream::getNext() in getNext() 88 SpatialIndex::RTree::Data* ret = m_pNext; in getNext()
|
H A D | Index.cc | 31 SpatialIndex::ISpatialIndex* Index::CreateIndex() in CreateIndex() 33 using namespace SpatialIndex; in CreateIndex() 92 int (*readNext)(SpatialIndex::id_type *id, in Index() 100 using namespace SpatialIndex; in Index() 113 SpatialIndex::RTree::RTreeVariant eVariant = SpatialIndex::RTree::RV_RSTAR; in Index() 114 SpatialIndex::id_type m_IdxIdentifier; in Index() 192 SpatialIndex::StorageManager::IBuffer* Index::CreateIndexBuffer(SpatialIndex::IStorageManager& stor… in CreateIndexBuffer() 194 using namespace SpatialIndex::StorageManager; in CreateIndexBuffer() 211 using namespace SpatialIndex::StorageManager; in CreateStorage() 213 SpatialIndex::IStorageManager* storage = 0; in CreateStorage() [all …]
|
H A D | BoundsQuery.cc | 33 m_bounds = new SpatialIndex::Region; in BoundsQuery() 36 void BoundsQuery::getNextEntry( const SpatialIndex::IEntry& entry, in getNextEntry() 37 SpatialIndex::id_type&, in getNextEntry() 40 SpatialIndex::IShape* ps; in getNextEntry()
|
/dports/devel/spatialindex/spatialindex-src-1.8.5/src/rtree/ |
H A D | RTree.cc | 39 using namespace SpatialIndex::RTree; 40 using namespace SpatialIndex; 52 SpatialIndex::RTree::Data::~Data() in ~Data() 57 SpatialIndex::RTree::Data* SpatialIndex::RTree::Data::clone() in clone() 142 SpatialIndex::ISpatialIndex* SpatialIndex::RTree::returnRTree(SpatialIndex::IStorageManager& sm, To… in returnRTree() 144 SpatialIndex::ISpatialIndex* si = new SpatialIndex::RTree::RTree(sm, ps); in returnRTree() 148 SpatialIndex::ISpatialIndex* SpatialIndex::RTree::createNewRTree( in createNewRTree() 189 SpatialIndex::ISpatialIndex* SpatialIndex::RTree::createAndBulkLoadNewRTree( in createAndBulkLoadNewRTree() 220 SpatialIndex::ISpatialIndex* SpatialIndex::RTree::createAndBulkLoadNewRTree( in createAndBulkLoadNewRTree() 1266 SpatialIndex::id_type SpatialIndex::RTree::RTree::writeNode(Node* n) in writeNode() [all …]
|
/dports/devel/spatialindex/spatialindex-src-1.8.5/src/mvrtree/ |
H A D | PointerPoolNode.h | 34 template<> class PointerPool<SpatialIndex::MVRTree::Node> 52 SpatialIndex::MVRTree::Node* x = m_pool.top(); m_pool.pop(); in ~PointerPool() 64 PoolPointer<SpatialIndex::MVRTree::Node> acquire() in acquire() 68 SpatialIndex::MVRTree::Node* p = m_pool.top(); m_pool.pop(); in acquire() 73 return PoolPointer<SpatialIndex::MVRTree::Node>(p, this); in acquire() 84 return PoolPointer<SpatialIndex::MVRTree::Node>(); in acquire() 87 void release(SpatialIndex::MVRTree::Node* p) in release() 129 std::stack<SpatialIndex::MVRTree::Node*> m_pool;
|
H A D | MVRTree.cc | 39 using namespace SpatialIndex::MVRTree; 51 SpatialIndex::MVRTree::Data::~Data() in ~Data() 56 SpatialIndex::MVRTree::Data* SpatialIndex::MVRTree::Data::clone() in clone() 61 SpatialIndex::id_type SpatialIndex::MVRTree::Data::getIdentifier() const in getIdentifier() 141 SpatialIndex::ISpatialIndex* SpatialIndex::MVRTree::returnMVRTree(SpatialIndex::IStorageManager& sm… in returnMVRTree() 143 SpatialIndex::ISpatialIndex* si = new SpatialIndex::MVRTree::MVRTree(sm, ps); in returnMVRTree() 147 SpatialIndex::ISpatialIndex* SpatialIndex::MVRTree::createNewMVRTree( in createNewMVRTree() 148 SpatialIndex::IStorageManager& sm, in createNewMVRTree() 188 SpatialIndex::ISpatialIndex* SpatialIndex::MVRTree::loadMVRTree(IStorageManager& sm, id_type indexI… in loadMVRTree() 1119 SpatialIndex::id_type SpatialIndex::MVRTree::MVRTree::writeNode(Node* n) in writeNode() [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/mesh/ |
H A D | qgsmeshspatialindex.cpp | 26 using namespace SpatialIndex; 50 return SpatialIndex::Region( pt1, pt2, 2 ); in faceToRegion() 64 return SpatialIndex::Region( pt1, pt2, 2 ); in edgeToRegion() 71 return SpatialIndex::Region( pt1, pt2, 2 ); in rectToRegion() 80 class QgisMeshVisitor : public SpatialIndex::IVisitor 118 SpatialIndex::IShape *shape = nullptr; in visitData() 128 SpatialIndex::ISpatialIndex *mNewIndex = nullptr; 192 SpatialIndex::Region r; in readNextEntry() 269 SpatialIndex::Region query( low, high, 2 ); in QgsMeshSpatialIndexData() 291 SpatialIndex::id_type indexId; in initTree() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/src/core/mesh/ |
H A D | qgsmeshspatialindex.cpp | 26 using namespace SpatialIndex; 59 return SpatialIndex::Region( pt1, pt2, 2 ); in faceToRegion() 74 return SpatialIndex::Region( pt1, pt2, 2 ); in edgeToRegion() 81 return SpatialIndex::Region( pt1, pt2, 2 ); in rectToRegion() 90 class QgisMeshVisitor : public SpatialIndex::IVisitor 128 SpatialIndex::IShape *shape = nullptr; in visitData() 138 SpatialIndex::ISpatialIndex *mNewIndex = nullptr; 202 SpatialIndex::Region r; in readNextEntry() 285 const SpatialIndex::Region query( low, high, 2 ); in QgsMeshSpatialIndexData() 307 SpatialIndex::id_type indexId; in initTree() [all …]
|
/dports/devel/spatialindex/spatialindex-src-1.8.5/src/tprtree/ |
H A D | TPRTree.cc | 38 using namespace SpatialIndex::TPRTree; 50 SpatialIndex::TPRTree::Data::~Data() in ~Data() 55 SpatialIndex::TPRTree::Data* SpatialIndex::TPRTree::Data::clone() in clone() 60 SpatialIndex::id_type SpatialIndex::TPRTree::Data::getIdentifier() const in getIdentifier() 140 SpatialIndex::ISpatialIndex* SpatialIndex::TPRTree::returnTPRTree(SpatialIndex::IStorageManager& sm… in returnTPRTree() 142 SpatialIndex::ISpatialIndex* si = new SpatialIndex::TPRTree::TPRTree(sm, ps); in returnTPRTree() 146 SpatialIndex::ISpatialIndex* SpatialIndex::TPRTree::createNewTPRTree( in createNewTPRTree() 147 SpatialIndex::IStorageManager& sm, in createNewTPRTree() 192 SpatialIndex::ISpatialIndex* SpatialIndex::TPRTree::loadTPRTree(IStorageManager& sm, id_type indexI… in loadTPRTree() 1078 SpatialIndex::id_type SpatialIndex::TPRTree::TPRTree::writeNode(Node* n) in writeNode() [all …]
|
/dports/devel/liblas/libLAS-1.8.1/cmake/modules/ |
H A D | FindSpatialIndex.cmake | 2 # CMake module to search for SpatialIndex library 21 message(STATUS "Searching for SpatialIndex ${SpatialIndex_FIND_VERSION}+ library") 46 DOC "Path to include directory of SpatialIndex library") 69 message(FATAL_ERROR "SpatialIndex version parsing failed for SIDX_VERSION_MAJOR!") 72 message(FATAL_ERROR "SpatialIndex version parsing failed for SIDX_VERSION_MINOR!") 75 message(FATAL_ERROR "SpatialIndex version parsing failed for SIDX_VERSION_REV!") 79 CACHE INTERNAL "The version string for SpatialIndex library") 84 message(STATUS "Found SpatialIndex version: ${SPATIALINDEX_VERSION}") 86 …message(FATAL_ERROR "SpatialIndex version check failed. Version ${SPATIALINDEX_VERSION} was found,… 97 find_package_handle_standard_args(SpatialIndex DEFAULT_MSG SPATIALINDEX_LIBRARY SPATIALINDEX_INCLUD…
|
/dports/devel/spatialindex/spatialindex-src-1.8.5/src/storagemanager/ |
H A D | MemoryStorageManager.cc | 34 using namespace SpatialIndex; 35 using namespace SpatialIndex::StorageManager; 37 SpatialIndex::IStorageManager* SpatialIndex::StorageManager::returnMemoryStorageManager(Tools::Prop… in returnMemoryStorageManager() 43 SpatialIndex::IStorageManager* SpatialIndex::StorageManager::createNewMemoryStorageManager() in createNewMemoryStorageManager()
|