| PathEngine home | previous: | next: |
Looks up the tile in this federation to use for a given query, based on horizontal coordinates for the query 'start point'.
tSigned32 tileForQuery(tSigned32 queryStartX, tSigned32 queryStartY) const; |
| queryStartX | The x coordinate of the query start point. | ||
| queryStartY | The y coordinate of the query start point. |
For point collision or closest unobstructed position queries 'start point' simply indicates the single point at which the query is made.
If build correctly, the mesh at the returned tile index guarantees to represent all geometry within a fixed range centred on this point.
The coordinates passed in to this method must be inside the range covered by this federation.
i.e.
| Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEngine | next: |