Close

Relief for ODA Team in Ukraine

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

Provides the perimeter length of the entity as a double value. The perimeter length property is applicable for most entities, that represent plane figures and some 3D figures. 

 

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

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