API Reference > OdDb Classes > OdDbMPolygon Class > OdDbMPolygon Methods > OdDbMPolygon::getChildLoops Method
OdDbMPolygon::getChildLoops Method
Syntax
C++
virtual OdResult getChildLoops(int curLoop, OdGeIntArray& selectedLoopIndexes) const;
Parameters 
Description 
int curLoop 
[in] Specified loop index.  
OdGeIntArray& selectedLoopIndexes 
[out] Return the array with indices of are child loops.
 

eOk if found or not found child loops, or eInvalidInput if curLoop out of loop array range, or eAmbiguousOutput if can't build MPolygonTree. 

remark return the empty selectedLoopIndexes if Specified loop does not a child loops.

Returns an array of indices of the loops that are children of the specified loop. 

 

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