API Reference > OdDb Classes > OdDbMPolygon Class > OdDbMPolygon Methods > OdDbMPolygon::getParentLoop Method
OdDbMPolygon::getParentLoop Method
Syntax
C++
virtual int getParentLoop(int curLoop) const;
Parameters 
Description 
int curLoop 
[in] The specified loop index  

Non-negative index if the loop is found, or -1 if the specified loop does not have a parent loop, or -2 if the specified loop does not exist, or -3 if the specified loop intersects with a possible outer loop

Returns a index of the parent loop, related to the specified loop. 

 

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