PathEngine home | previous: | next: |
Translates a position in a federation tile mesh back to the source tiling used to construct the federation.
cPosition translatePositionToSourceTile(const cPosition& fromPosition, const iMesh& federationTile, const iMesh& sourceTile) const; |
fromPosition |
The position to be translated. This must be a valid position on the mesh passed in for federationTile. | ||
federationTile |
The federation tile to translate the position from. | ||
sourceTile |
The source tile to translate the position to. This tile must be the correct source tile for the position, based on the position x and y coordinates, as can be determined with |
PathEngine.Position translatePositionToSourceTile(PathEngine.Position fromPosition, Mesh federationTile, Mesh sourceTile); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |