PathEngine home | previous: | next: |
Translates positions between the overlapping sections of adjacent meshes in this federation.
cPosition translatePosition(int32_t fromTileIndex, const iMesh& fromMesh, int32_t toTileIndex, const iMesh& toMesh, const cPosition& fromPosition) const; |
fromTileIndex | The index of the mesh within this federation for the source point. | ||
fromMesh | An iMesh built for the tile at fromTileIndex. | ||
toTileIndex |
The index of the mesh within this federation to translate the position to.
This mesh must be adjacent to the source mesh. | ||
toMesh | An iMesh built for the tile at toTileIndex. | ||
fromPosition |
The position to translate. In addition to being a valid position on the source mesh, this position must also be within the 'represented region' for that mesh. |
PathEngine.Position translatePosition(int fromTileIndex, Mesh fromMesh, int toTileIndex, Mesh toMesh, PathEngine.Position fromPosition); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |