ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
Loading...
Searching...
No Matches
zlayout::spatial::SpatialIndexFactory Class Reference

Ultra-high performance spatial index factory. More...

#include <advanced_spatial.hpp>

Public Types

enum class  IndexType {
  QUADTREE , RTREE , HIERARCHICAL , ZORDER_HASH ,
  HYBRID
}

Static Public Member Functions

template<typename T>
static std::unique_ptr< HierarchicalSpatialIndex< T > > create_optimized_index (const geometry::Rectangle &world_bounds, size_t expected_object_count, IndexType preferred_type=IndexType::HYBRID)

Detailed Description

Ultra-high performance spatial index factory.

Definition at line 336 of file advanced_spatial.hpp.

Member Enumeration Documentation

◆ IndexType

Enumerator
QUADTREE 
RTREE 
HIERARCHICAL 
ZORDER_HASH 
HYBRID 

Definition at line 338 of file advanced_spatial.hpp.

Member Function Documentation

◆ create_optimized_index()

template<typename T>
std::unique_ptr< HierarchicalSpatialIndex< T > > zlayout::spatial::SpatialIndexFactory::create_optimized_index ( const geometry::Rectangle & world_bounds,
size_t expected_object_count,
IndexType preferred_type = IndexType::HYBRID )
inlinestatic

Definition at line 347 of file advanced_spatial.hpp.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: