| PathEngine home | previous: | next: |
Obtains a position in the specified section and at the given coordinates, if such a position exists.
cPosition positionInSection(tSigned32 sectionID, tSigned32 x, tSigned32 y) const; |
| sectionID |
Obtains a position in this section. A value of -1 may be passed into this parameter to indicate the entire mesh. | ||
| x | X coordinate for the position. | ||
| y | Y coordinate for the position. |
A
Sections can be defined by setting the PE_FaceAttribute_SectionID when building a ground mesh.
If a section includes more than one layer of overlapping geometry at the given x and y coordinates
then this method will return a position in one of those layers, but it is not defined which position will be chosen.
This method is provided primarily for working with terrain layers that do not contain overlapping geometry.
Refer to
See
| Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEngine | next: |