Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdBrFace::getArea Method
Syntax
C++
OdBrErrorStatus getArea(double& area, const double* tolRequired = NULL, double* tolAchieved = NULL) const;

Provides the surface area of the face as a double value. 

 

Parameters
Description
area
[out] Surface area of the face.
tolRequired
[in] Optional tolerance required for the result of the calculation.
tolAchieved
[out] Optional tolerance achieved in the calculation.
  • odbrNotImplementedYet - if the method is not implemented for the current modeler;
  • odbrUninitialisedObject - if object is uninitalised;
  • odbrInvalidInput - if calculation unsuccess;
  • odbrOK - if the calculation was successful;

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.