A3DComputeFaceArea
-
A3DStatus
A3DComputeFaceArea(const A3DTopoFace *pFace, const A3DTopoContext *pBrepDataTopoContext, A3DDouble *pArea) A3DStatusA3DComputeFaceArea(constA3DTopoFace* pFace, constA3DTopoContext* pBrepDataTopoContext,A3DDouble* pArea)Function to compute the surface of the current A3DTopoFace.
The current TopoContext is needed in order to get the correct current scale.
Return Values
A3D_SUCCESS:
A3D_INVALID_ENTITY_TYPE:
A3D_INVALID_ENTITY_NULL:
A3D_INITIALIZE_NOT_CALLED:
A3D_ERROR:
A3D_TOOLS_TESSELLATION_ISSUE:
7.0
Parameters
pFace: The input A3DTopoFace.
pBrepDataTopoContext: The corresponding A3DTopoContext of the current A3DTopoBrepData who is owing the A3DTopoFace.
pArea: The surface of the A3DTopoFace in the current unit.
Returns
A3D_SUCCESSon success, or an error code on failure