PathEngine home previous: iMesh::placeProjected3DObstruction()next: iMesh::positionFor3DPoint()
Contents, API Reference, Interfaces, iMesh, pointIsIn3DFace

iMesh::pointIsIn3DFace()

Description

Helper method for testing whether horizontal coordinates are inside a 3D face.

Syntax

bool pointIsIn3DFace(int32_t faceIndex, int32_t x, int32_t y) const;

Parameters

faceIndex An index for the 3D face (tri) to be tested.
(Must be non-negative, and less than the value returned by iMesh::getNumberOf3DFaces().)
x The X coordinate of the horizontal coordinates to be tested.
y The Y coordinate of the horizontal coordinates to be tested.

Return Value

true, if the horizontal coordinates are considered as being inside the specified 3D face, otherwise false.

Remarks

This method is provided for use with iMesh::positionForPointIn3DFace(), for resolving cPosition instances directly against the ground mesh geometry (e.g. when picking points directly against that geometry).

C# Mapping

bool pointIsIn3DFace(int faceIndex, int x, int y);

Java Mapping

boolean pointIsIn3DFace(int faceIndex, int x, int y);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iMesh::positionFor3DPoint()