ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
Loading...
Searching...
No Matches
zlayout::spatial::RTree< T > Class Template Reference

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 ()

Detailed Description

template<typename T>
class zlayout::spatial::RTree< T >

High-performance R-tree implementation.

Definition at line 242 of file advanced_spatial.hpp.

Constructor & Destructor Documentation

◆ RTree()

template<typename T>
zlayout::spatial::RTree< T >::RTree ( )
inline

Definition at line 248 of file advanced_spatial.hpp.

Member Function Documentation

◆ clear()

template<typename T>
void zlayout::spatial::RTree< T >::clear ( )

Definition at line 198 of file advanced_spatial.cpp.

◆ empty()

template<typename T>
bool zlayout::spatial::RTree< T >::empty ( ) const
inline

Definition at line 258 of file advanced_spatial.hpp.

◆ insert()

template<typename T>
void zlayout::spatial::RTree< T >::insert ( const T & object,
const geometry::Rectangle & bbox )

Definition at line 76 of file advanced_spatial.cpp.

Here is the caller graph for this function:

◆ query_point()

template<typename T>
std::vector< T > zlayout::spatial::RTree< T >::query_point ( const geometry::Point & point) const

Definition at line 185 of file advanced_spatial.cpp.

Here is the call graph for this function:

◆ query_range()

template<typename T>
std::vector< T > zlayout::spatial::RTree< T >::query_range ( const geometry::Rectangle & range) const

Definition at line 159 of file advanced_spatial.cpp.

Here is the caller graph for this function:

◆ remove()

template<typename T>
bool zlayout::spatial::RTree< T >::remove ( const T & object,
const geometry::Rectangle & bbox )

Definition at line 204 of file advanced_spatial.cpp.

◆ size()

template<typename T>
size_t zlayout::spatial::RTree< T >::size ( ) const
inline

Definition at line 257 of file advanced_spatial.hpp.


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