◆ Accept() [1/2]
template<class T = SHAPE*>
template<class V >
Function Accept()
Accepts a visitor for every SHAPE object contained in this INDEX.
- Parameters
-
aVisitor | Visitor object to be run |
◆ Accept() [2/2]
template<class T = SHAPE*>
template<class V >
Function Accept()
Accepts a visitor for every SHAPE object contained in this INDEX.
- Parameters
-
aVisitor | Visitor object to be run |
◆ Add() [1/2]
Function Add()
Adds a SHAPE to the index.
- Parameters
-
◆ Add() [2/2]
template<class T = SHAPE*>
Function Add()
Adds a SHAPE to the index.
- Parameters
-
◆ Begin() [1/2]
Function Begin()
Creates an iterator for the current index object
- Returns
- iterator
◆ Begin() [2/2]
template<class T = SHAPE*>
Function Begin()
Creates an iterator for the current index object
- Returns
- iterator
◆ Query() [1/2]
template<class T = SHAPE*>
template<class V >
int SHAPE_INDEX< T >::Query |
( |
const SHAPE * |
aShape, |
|
|
int |
aMinDistance, |
|
|
V & |
aVisitor, |
|
|
bool |
aExact |
|
) |
| |
|
inline |
Function Query()
Runs a callback on every SHAPE object contained in the bounding box of (shape).
- Parameters
-
aShape | shape to search against |
aMinDistance | distance threshold |
aVisitor | object to be invoked on every object contained in the search area. |
◆ Query() [2/2]
template<class T = SHAPE*>
template<class V >
int SHAPE_INDEX< T >::Query |
( |
const SHAPE * |
aShape, |
|
|
int |
aMinDistance, |
|
|
V & |
aVisitor, |
|
|
bool |
aExact |
|
) |
| |
|
inline |
Function Query()
Runs a callback on every SHAPE object contained in the bounding box of (shape).
- Parameters
-
aShape | shape to search against |
aMinDistance | distance threshold |
aVisitor | object to be invoked on every object contained in the search area. |
◆ Reindex() [1/2]
Function Reindex()
Rebuilds the index. This should be used if the geometry of the objects contained by the index has changed.
◆ Reindex() [2/2]
template<class T = SHAPE*>
Function Reindex()
Rebuilds the index. This should be used if the geometry of the objects contained by the index has changed.
◆ Remove() [1/2]
◆ Remove() [2/2]
template<class T = SHAPE*>
◆ RemoveAll() [1/2]
Function RemoveAll()
Removes all the contents of the index.
◆ RemoveAll() [2/2]
template<class T = SHAPE*>
Function RemoveAll()
Removes all the contents of the index.
The documentation for this class was generated from the following file: