Close

Relief for ODA Team in Ukraine

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

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

 

Parameters
Description
dVolume
[out] Volume 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 volume property is not applicable to the entity, odbrNotApplicable is returned. If an error occurs, the value of the volume argument remains unchanged.

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