Contents, API Reference, Interfaces, iMeshFederation, getGroundTilesOverlapped
iMeshFederation::getGroundTilesOverlapped()
Description
Returns the set of ground tiles overlapped by the represented region for a given federation tile.
Syntax
void getGroundTilesOverlapped(tSigned32 tileIndex, const iSourceTiling* tiling, tSigned32* resultsBuffer, tSigned32& numberOverlapped) const; |
Parameters
| tileIndex | | The index of a federation tile. |
| tiling | |
An iSourceTiling object
defining the position and placement of ground tiles.
|
| resultsBuffer | | A pointer to a buffer to be filled with the results of the query. The buffer must be large enough to hold the maximum number of values that could potentially be returned by the query. |
| numberOverlapped | | Returns the number of values returned by the query. |
Remarks
The results buffer must be preallocated
to the size of the results set,
which can be determined in advance by calling
iMeshFederation::getNumberOfGroundTilesOverlapped().
The relevant ground tiles can then be loaded, based on the ground tile indices returned in
the results buffer, and the resulting set of ground meshes passed in to
iMeshFederation::buildTileMeshFromLocalGroundTiles().