ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
|
R-tree node for efficient rectangle indexing. More...
#include <advanced_spatial.hpp>
Public Member Functions | |
RTreeNode (bool leaf=true) | |
bool | is_full () const |
void | update_mbr () |
Public Attributes | |
geometry::Rectangle | mbr |
std::vector< std::pair< T, geometry::Rectangle > > | entries |
std::vector< std::unique_ptr< RTreeNode< T > > > | children |
bool | is_leaf |
Static Public Attributes | |
static const size_t | MAX_ENTRIES = 16 |
static const size_t | MIN_ENTRIES = 4 |
R-tree node for efficient rectangle indexing.
Definition at line 204 of file advanced_spatial.hpp.
|
inline |
Definition at line 212 of file advanced_spatial.hpp.
|
inline |
Definition at line 214 of file advanced_spatial.hpp.
|
inline |
Definition at line 218 of file advanced_spatial.hpp.
std::vector<std::unique_ptr<RTreeNode<T> > > zlayout::spatial::RTreeNode< T >::children |
Definition at line 207 of file advanced_spatial.hpp.
std::vector<std::pair<T, geometry::Rectangle> > zlayout::spatial::RTreeNode< T >::entries |
Definition at line 206 of file advanced_spatial.hpp.
bool zlayout::spatial::RTreeNode< T >::is_leaf |
Definition at line 208 of file advanced_spatial.hpp.
|
static |
Definition at line 209 of file advanced_spatial.hpp.
geometry::Rectangle zlayout::spatial::RTreeNode< T >::mbr |
Definition at line 205 of file advanced_spatial.hpp.
|
static |
Definition at line 210 of file advanced_spatial.hpp.