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



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


int32_t tileForQueryRange(const cHorizontalRange& queryRange) const;


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.


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


C# Mapping

int tileForQueryRange(PathEngine.HorizontalRange queryRange);

Java Mapping

int tileForQueryRange(HorizontalRange queryRange);

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iMeshFederation::translatePosition()