PathEngine home | previous: | next: |
Helper for constructing a cPosition from horizontal coordinates and 3D face index.
cPosition positionForPointIn3DFace(int32_t faceIndex, int32_t x, int32_t y) const; |
faceIndex |
An index for the 3D face (tri) containing the specified x and y coordinates. (Must be non-negative, and less than the value returned by | ||
x | The X coordinate of the position. | ||
y | The Y coordinate of the position. |
This method is intended to be used with
A specific model is used with respect to ownership of points exactly on face boundaries, which is shared with that method.
If the specified point is not inside the face according to that model then an explicitly invalid position will be returned.
PathEngine.Position positionForPointIn3DFace(int faceIndex, int x, int y); |
Position positionForPointIn3DFace(int faceIndex, int x, int y); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |