Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbMPolygon::isBalanced Method
Syntax
C++
virtual bool isBalanced() const;

Checks if there are loops that are not drawn (invalid). Does not check loops that are drawn (valid) for intersection or direction. 

 

True if all loops are drawn, or false if MPolygon has loops that are not drawn (invalid).

Use balanceDisplay()/balanceTree() to check and mark valid and invalid loops (loops that are drawn or not drawn).

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