PathEngine home previous: iMeshFederation::tileForQueryCentre()next: iMeshFederation::tilesInX()
Contents, API Reference, Interfaces, iMeshFederation, tileForQueryRange

iMeshFederation::tileForQueryRange()

Description

Looks up the tile in this federation to use for a given query, based on specified horizontal query range.

Syntax

int32_t tileForQueryRange(const cHorizontalRange& queryRange) const;

Parameters

queryRange Minimum and maximum bounds of the region relevant to a query, in X and Y.

Return Value

The index for the tile within this federation which should be used to dispatch a query with the specified start point.

Remarks

As long as the extents of the specified range are less than or equal to the overlap value specified for federation construction, the tile at the returned index is guaranteed to include all ground geometry within the specified range. (Where extent is calculated as maximum coordinate - minimum coordinate + 1.)

See Also

iMeshFederation::tileForQueryCentre()

C# Mapping

int tileForQueryRange(PathEngine.HorizontalRange queryRange);

Java Mapping

int tileForQueryRange(HorizontalRange queryRange);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iMeshFederation::tilesInX()