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

iMeshFederation::getRepresentedRegion_World()

Description

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

Syntax

void getRepresentedRegion_World(int32_t 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 federation world coordinates.
Use iMeshFederation::getRepresentedRegion_Local() if you want the region in tile local 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.

C# Mapping

void getRepresentedRegion_World(int tileIndex, out PathEngine.HorizontalRange result);

Java Mapping

void getRepresentedRegion_World(int tileIndex, Object_OutArgument result);

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