A3DFaceUVPointInside
-
A3DStatus
A3DFaceUVPointInside(A3DFaceUVPointInsideManager *pManager, A3DTopoFace const *psFace, A3DVector2dData const *pUVParameter, A3DDouble dTol3D, A3DUns8 *puiUVInFace) A3DStatusA3DFaceUVPointInside(A3DFaceUVPointInsideManager* pManager,A3DTopoFace* psFace,A3DVector2dData* pUVParameter,A3DDoubledTol3D,A3DUns8* puiUVInFace)This function projects a UV point on a face, and return if it’s inside or not.
puiUVInFace gives the result: 0 if the point is outside the face, and 1 if it’s inside. dTol3D is used to check if a UV point is on edges. If it’s set to zero and the point is not inside the face but potentially on its edges, the tolerance check will not happen.
5.2Return Values
A3D_SUCCESS:
A3D_INVALID_ENTITY_TYPE:
A3D_INVALID_ENTITY_NULL:
A3D_TOPO_GEOMETRY_MISSING: - it’s missing UV curves
A3D_ERROR:
Parameters
pManager: The face manager.
psFace: The input face.
pUVParameter: The input UV Point.
dTol3D: Tolerance to check if the UV point is on the edge.
puiUVInFace: Status of the UV point on the face. 0 is outside, 1 is inside.
Returns
A3D_SUCCESSon success, or an error code on failure