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

iMeshFederation::getRepresentedRegion_Local()

Description

Queries the 'represented region' for a specified tile in this federation.

Syntax

void getRepresentedRegion_Local(tSigned32 tileIndex, cHorizontalRange& result) const;

Parameters

tileIndexThe index of the tile within this federation to query.
result Returns the minimum and maximum bounds of the tile's represented region, in X and Y.

Remarks

The returned region is expressed in tile local coordinates.
Use iMeshFederation::getHandledRegion_World() if you want the region in federation world coordinates.

The region bounds are inclusive, i.e. the represented region includes points exactly at minimum or maximum values in X and Y.

The represented region for a tile is the horizontal range within which that tile's mesh guarantees to represent geometry.
This region overlaps the handled regions of adjacent tiles to enable seamless pathfinding across tile borders.


Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEnginenext: iMeshFederation::getRepresentedRegion_World()