OpenLexocad  27.1
Geom::Box2dRTree Class Reference

#include <RTree.h>

Classes

struct  Value
 

Public Member Functions

 Box2dRTree ()
 
 Box2dRTree (const std::vector< Value > &values)
 
 Box2dRTree (const Box2dRTree &other)
 
 ~Box2dRTree ()
 
void insert (const Bnd_Box &bbox, uintptr_t userData)
 
void insert (const Value &value)
 
bool remove (const Bnd_Box &bbox, uintptr_t userData)
 
bool remove (const Value &value)
 
void queryIntersects (const Bnd_Box &bbox, std::vector< uintptr_t > &userDataVec) const
 
void queryIntersects (const RTree::Box2d &bbox, std::vector< uintptr_t > &userDataVec) const
 
bool hasIntersection (const Bnd_Box &bbox) const
 
bool hasIntersection (const RTree::Box2d &bbox) const
 

Constructor & Destructor Documentation

◆ Box2dRTree() [1/3]

Geom::Box2dRTree::Box2dRTree ( )

◆ Box2dRTree() [2/3]

Geom::Box2dRTree::Box2dRTree ( const std::vector< Value > &  values)

◆ Box2dRTree() [3/3]

Geom::Box2dRTree::Box2dRTree ( const Box2dRTree other)

◆ ~Box2dRTree()

Geom::Box2dRTree::~Box2dRTree ( )

Member Function Documentation

◆ hasIntersection() [1/2]

bool Geom::Box2dRTree::hasIntersection ( const Bnd_Box bbox) const

◆ hasIntersection() [2/2]

bool Geom::Box2dRTree::hasIntersection ( const RTree::Box2d bbox) const

◆ insert() [1/2]

void Geom::Box2dRTree::insert ( const Bnd_Box bbox,
uintptr_t  userData 
)

◆ insert() [2/2]

void Geom::Box2dRTree::insert ( const Value value)

◆ queryIntersects() [1/2]

void Geom::Box2dRTree::queryIntersects ( const Bnd_Box bbox,
std::vector< uintptr_t > &  userDataVec 
) const

◆ queryIntersects() [2/2]

void Geom::Box2dRTree::queryIntersects ( const RTree::Box2d bbox,
std::vector< uintptr_t > &  userDataVec 
) const

◆ remove() [1/2]

bool Geom::Box2dRTree::remove ( const Bnd_Box bbox,
uintptr_t  userData 
)

◆ remove() [2/2]

bool Geom::Box2dRTree::remove ( const Value value)

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