| PathEngine home | previous: | next: |
Variation on
cPosition positionInSectionNear3DPoint(tSigned32 sectionID, const tSigned32* point, tSigned32 horizontalRange, tSigned32 verticalRange) const; |
| sectionID |
The section to which the resulting position should be restricted. A value of -1 may be passed in to indicate the entire mesh. | ||
| point |
This parameter must point to an array of three elements. These are interpreted as x,y,z, where z is height. | ||
| horizontalRange | Looks for a position with x and y components within plus or minus horizontalRange of the target point x and y. | ||
| verticalRange | Looks for a position with ground height within plus or minus verticalRange of the target point z. |
A
If there is no such position then an explicitly invalid position is returned (i.e. a cPosition with cell set to -1).
This method works in a similar way to
See
| Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEngine | next: |