API Reference > OdBr Classes > OdBrMesh2dControl Class > OdBrMesh2dControl Methods > OdBrMesh2dControl::getMaxAspectRatio Method
OdBrMesh2dControl::getMaxAspectRatio Method
Syntax
C++
OdBrErrorStatus getMaxAspectRatio(double& maxAspectRatio) const;
Parameters 
Description 
double& maxAspectRatio 
[out] Maximum aspect ratio.
 

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

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

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.