Kaim::ActiveData Class Reference
#include <activedata.h>
This class gathers all the navigation data that are currently active in a Database.
This is comprised of a grid of NavFloors and a set of NavGraph. You may not need to use the ActiveData directly in your code. However, if you do, you can retrieve it by calling Database::GetActiveData() at runtime
const CellBox & Kaim::ActiveData::GetCellBox |
( |
| ) |
const |
|
inline |
Retrieves a CellBox that encloses all the navigation data in this ActiveData.
That does not mean that in all the CellPos of this CellBox there is activeData.
CellIdxInActiveData Kaim::ActiveData::GetCellIdxInActiveDataFromCellPos |
( |
const CellPos & |
cellPos | ) |
const |
|
inline |
Return the index in the buffer of ActiveCell of this CellPos Returns CellIdxInActiveData_Invalid if GetCellBox().IsInside(cellPos) == false.
CellIdxInActiveData Kaim::ActiveData::GetCellIdxInActiveDataFromCellPos_Unsafe |
( |
const CellPos & |
cellPos | ) |
const |
|
inline |
Returns the index in the buffer of ActiveCell of this CellPos.
- Precondition
- GetCellBox().IsInside(cellPos) == true
bool Kaim::ActiveData::IsActiveNavFloorAtThisCellPos |
( |
const CellPos & |
cellPos | ) |
const |
|
inline |
Returns true if at least one NavFloor is active at the input CellPos.
The documentation for this class was generated from the following files: