Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdBrMesh2dControl::setMaxAspectRatio Method
Syntax
C++
OdBrErrorStatus setMaxAspectRatio(double maxAspectRatio = 0);

Sets the maximum aspect ratio between width and height for a 2D mesh element. 

 

Parameters
Description
maxAspectRatio
[in] The value of the ratio.

Returns odbrOK if successful, or an appropriate error code if not.

If the argument value is between zero and one, the aspect ratio relationship is inverted to a height-to-width ratio.

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