Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbMPolygon::getMPolygonTree Method
Syntax
C++
virtual OdResult getMPolygonTree(OdDbMPolygonNode*& loopNode) const;

Creates a nesting tree of nodes, where the nodes represent the nesting of the loops. 

 

Parameters
Description
loopNode
[out] Pointer to the root node of the tree.

eOk if tree creation is successful.

  • Return eOk if the loops count in OdDbMPolygon is zero.
  • To avoid memory leaks use OdDbMPolygon::deleteMPolygonTree(loopNode).
  • If loops in OdDbMPolygon were changed, get a new tree using this function.
Copyright © 2002-2022. Open Design Alliance All rights reserved.