A3DComputeFaceArea

A3DStatus A3DComputeFaceArea(const A3DTopoFace *pFace, const A3DTopoContext *pBrepDataTopoContext, A3DDouble *pArea)
A3DStatus A3DComputeFaceArea(const A3DTopoFace* pFace, const A3DTopoContext* pBrepDataTopoContext, A3DDouble* pArea)

Function to compute the surface of the current:c:type:~A3DTopoFace.

The current TopoContext is needed in order to get the correct current scale.

Parameters

pFace: The input:c:type:~A3DTopoFace.

pBrepDataTopoContext: The corresponding:c:type:~A3DTopoContextof the current:c:type:~A3DTopoBrepDatawho is owing the:c:type:~A3DTopoFace.

pArea: The surface of the:c:type:~A3DTopoFacein the current unit.

Returns

A3D_SUCCESSon success, or an error code on failure