Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/classStelSphericalIndex.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:41:06 2014 Кодировка: Поисковые слова: п п п п п п п п п п п п п п п п п п п |
Stellarium 0.12.3
|
Container allowing to store and query SphericalRegion. More...
#include <StelSphericalIndex.hpp>
Public Member Functions | |
StelSphericalIndex (int maxObjectsPerNode=100, int maxLevel=7) | |
void | insert (StelRegionObjectP obj) |
Insert the given object in the StelSphericalIndex. More... | |
template<class FuncObject > | |
void | processIntersectingRegions (const SphericalRegionP ®ion, FuncObject &func) const |
Process all the objects intersecting the given region using the passed function object. More... | |
template<class FuncObject > | |
void | processBoundingCapIntersectingRegions (const SphericalCap &cap, FuncObject &func) const |
Process all the objects intersecting the given region using the passed function object. More... | |
template<class FuncObject > | |
void | processContainedRegions (const SphericalRegionP ®ion, FuncObject &func) const |
Process all the objects contained in the given region using the passed function object. More... | |
template<class FuncObject > | |
void | processAll (FuncObject &func) const |
Process all the objects intersecting the given region using the passed function object. More... | |
void | clear () |
Remove all the elements in the container. More... | |
unsigned int | count () |
Return the total number of elements in the container. More... | |
Container allowing to store and query SphericalRegion.
Definition at line 27 of file StelSphericalIndex.hpp.
|
inline |
Remove all the elements in the container.
Definition at line 61 of file StelSphericalIndex.hpp.
|
inline |
Return the total number of elements in the container.
Definition at line 67 of file StelSphericalIndex.hpp.
void StelSphericalIndex::insert | ( | StelRegionObjectP | obj | ) |
Insert the given object in the StelSphericalIndex.
|
inline |
Process all the objects intersecting the given region using the passed function object.
Definition at line 55 of file StelSphericalIndex.hpp.
|
inline |
Process all the objects intersecting the given region using the passed function object.
Definition at line 43 of file StelSphericalIndex.hpp.
|
inline |
Process all the objects contained in the given region using the passed function object.
Definition at line 49 of file StelSphericalIndex.hpp.
|
inline |
Process all the objects intersecting the given region using the passed function object.
Definition at line 37 of file StelSphericalIndex.hpp.