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.
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