Data Structures | |
struct | A3DFaceUVPointInsideManagerData |
A3DFaceUVPointInsideManager structure. More... | |
A3DStatus | A3DFaceUVPointInsideManagerCreate (A3DFaceUVPointInsideManagerData const *pData, A3DFaceUVPointInsideManager **pManager) |
Creates an A3DFaceUVPointInsideManager from an A3DFaceUVPointInsideManagerData structure. More... | |
A3DStatus | A3DFaceUVPointInsideManagerDelete (A3DFaceUVPointInsideManager *pManager) |
Deletes an A3DFaceUVPointInsideManager. More... | |
A3DStatus | A3DFaceUVPointInside (A3DFaceUVPointInsideManager *pManager, A3DTopoFace const *psFace, A3DVector2dData const *pUVParameter, A3DDouble dTol3D, 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. More... | |
Entity type is kA3DTypeTopoShell
A3DStatus A3DFaceUVPointInsideManagerCreate | ( | A3DFaceUVPointInsideManagerData const * | pData, |
A3DFaceUVPointInsideManager ** | pManager | ||
) |
Creates an A3DFaceUVPointInsideManager from an A3DFaceUVPointInsideManagerData structure.
A3DStatus A3DFaceUVPointInsideManagerDelete | ( | A3DFaceUVPointInsideManager * | pManager | ) |
Deletes an A3DFaceUVPointInsideManager.
A3DStatus A3DFaceUVPointInside | ( | A3DFaceUVPointInsideManager * | pManager, |
A3DTopoFace const * | psFace, | ||
A3DVector2dData const * | pUVParameter, | ||
A3DDouble | dTol3D, | ||
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.
[in] | pManager | The face manager. |
[in] | psFace | The input face. |
[in] | pUVParameter | The input UV Point. |
[in] | dTol3D | Tolerance to check if the UV point is on the edge. |
[out] | puiUVInFace | Status of the UV point on the face. 0 is outside, 1 is inside. |