Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdBrEntity::getSurfaceArea Method
Syntax
C++
OdBrErrorStatus getSurfaceArea(double& dArea, const double& dTolRequired = dUnspecified, double& dTolAchieved = dUnspecified) const;

Provides the surface area of the entity as a double value. The surface area property is applicable for most entities, that represent volumetric figures. 

 

Parameters
Description
dArea
[out] Surface area of the entity.
dTolRequired
[in] Tolerance required for the result of the calculation.
dTolAchieved
[out] Tolerance achieved in the calculation.

Value of the OdBrErrorStatus type.

If the surface area property is not applicable to the entity, odbrNotApplicable is returned. If an error occurs, the value of the surface area argument remains unchanged.

Copyright © 2002-2022. Open Design Alliance All rights reserved.