UV Classification
Data Structures | |
struct | A3DFaceUVPointInsideManagerData |
A3DFaceUVPointInsideManager structure. More... | |
Functions | |
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... | |
A3DStatus | A3DFaceUVPointInsideManagerCreate (A3DFaceUVPointInsideManagerData const *pData, A3DFaceUVPointInsideManager **pManager) |
Creates an A3DFaceUVPointInsideManager from an A3DFaceUVPointInsideManagerData structure. More... | |
A3DStatus | A3DFaceUVPointInsideManagerDelete (A3DFaceUVPointInsideManager *pManager) |
Deletes an A3DFaceUVPointInsideManager. More... | |
Detailed Description
- Version
- 5.2
Entity type is kA3DTypeTopoShell
Function Documentation
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.
- Version
- 5.2
- Parameters
-
[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.
- Returns
- A3D_SUCCESS
- A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_ENTITY_NULL
-
A3D_TOPO_GEOMETRY_MISSING - it's missing UV curves
-
A3D_ERROR
A3DStatus A3DFaceUVPointInsideManagerCreate | ( | A3DFaceUVPointInsideManagerData const * | pData, |
A3DFaceUVPointInsideManager ** | pManager | ||
) |
Creates an A3DFaceUVPointInsideManager from an A3DFaceUVPointInsideManagerData structure.
- Version
- 5.2
A3DStatus A3DFaceUVPointInsideManagerDelete | ( | A3DFaceUVPointInsideManager * | pManager | ) |
Deletes an A3DFaceUVPointInsideManager.
- Version
- 5.2