API Reference > OdDb Classes > OdDbMPolygon Class > OdDbMPolygon Methods > OdDbMPolygon::isBalanced Method
OdDbMPolygon::isBalanced Method
Syntax
C++
virtual bool isBalanced() const;

true if all loops are draw, or return false if MPolygon has loops that not draw (invalid). remarks use balanceDisplay/balanceTree to check and mark valid and invalid loops(loops that be draw or not draw).

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

 

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