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

iMeshFederation::tileForQueryCentre()

Description

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

Syntax

int32_t tileForQueryCentre(int32_t queryCentreX, int32_t queryCentreY) const;

Parameters

queryCentreXThe x coordinate of the query range centre point.
queryCentreYThe y coordinate of the query range centre point.

Return Value

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

Remarks

The tile at the returned index is guaranteed to include all ground geometry within a range determined by centre point X and Y plus or minus half of the overlap value specified for federation construction.

See Also

iMeshFederation::tileForQueryRange()

C# Mapping

int tileForQueryCentre(int queryCentreX, int queryCentreY);

Java Mapping

int tileForQueryCentre(int queryCentreX, int queryCentreY);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iMeshFederation::tileForQueryRange()