ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
|
High-performance R-tree implementation. More...
#include <advanced_spatial.hpp>
Public Member Functions | |
RTree () | |
void | insert (const T &object, const geometry::Rectangle &bbox) |
std::vector< T > | query_range (const geometry::Rectangle &range) const |
std::vector< T > | query_point (const geometry::Point &point) const |
bool | remove (const T &object, const geometry::Rectangle &bbox) |
size_t | size () const |
bool | empty () const |
void | clear () |
High-performance R-tree implementation.
Definition at line 242 of file advanced_spatial.hpp.
|
inline |
Definition at line 248 of file advanced_spatial.hpp.
void zlayout::spatial::RTree< T >::clear | ( | ) |
Definition at line 198 of file advanced_spatial.cpp.
|
inline |
Definition at line 258 of file advanced_spatial.hpp.
void zlayout::spatial::RTree< T >::insert | ( | const T & | object, |
const geometry::Rectangle & | bbox ) |
std::vector< T > zlayout::spatial::RTree< T >::query_point | ( | const geometry::Point & | point | ) | const |
std::vector< T > zlayout::spatial::RTree< T >::query_range | ( | const geometry::Rectangle & | range | ) | const |
bool zlayout::spatial::RTree< T >::remove | ( | const T & | object, |
const geometry::Rectangle & | bbox ) |
Definition at line 204 of file advanced_spatial.cpp.
|
inline |
Definition at line 257 of file advanced_spatial.hpp.