PathEngine home previous: iMeshFederation::coordinatesAreInsideRange()next: iMeshFederation::getHandledRegion_Local()
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

tileIndexThe index of a federation tile.
tiling An iSourceTiling object defining the position and placement of ground tiles.
resultsBufferA 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.
numberOverlappedReturns 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().


Documentation for PathEngine release 5.24 - Copyright © 2002-2010 PathEnginenext: iMeshFederation::getHandledRegion_Local()