PathEngine home previous: iMeshFederation::getNumberOfGroundTilesOverlapped()next: iMeshFederation::getRepresentedRegion_Local()
Contents, API Reference, Interfaces, iMeshFederation, getRepresentedRegionsOverlapped

iMeshFederation::getRepresentedRegionsOverlapped()

Description

Queries the set of tile represented regions overlapped by the specific horizontal region.

Syntax

void getRepresentedRegionsOverlapped(const cHorizontalRange& queryRegion, tSigned32* resultsBuffer, tSigned32& numberOverlapped) const;

Parameters

queryRegionThe minimum and maximum bounds of the query region, in X and Y.
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

This method can be used to place dynamic obstacles into individual tiles of a mesh federation.

The results vector should be preallocated to a size which bounds the maximum possible size of the returned set, which can be determined, for example, by calling iMeshFederation::size().


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