API Reference > OdDb Classes > OdDbMPolygon Class > OdDbMPolygon Methods > OdDbMPolygon::getMPolygonLoopAt Method
OdDbMPolygon::getMPolygonLoopAt Method
Syntax
C++
virtual OdResult getMPolygonLoopAt(int loopIndex, OdGePoint2dArray& vertices, OdGeDoubleArray& bulges) const;
Parameters 
Description 
int loopIndex 
[in] Loop index.  
OdGePoint2dArray& vertices 
[out] Receives the vertices that comprise this loop.  
OdGeDoubleArray& bulges 
[out] Receives a set of bulges corresponding to the vertices array.
 

eInvalidInput if loopIndex equal or greater then OdDbMPolygon::numMPolygonLoops() or if loopIndex is less than 0. eOk if a polygon loop returned successfully.

Gets the specified loop. 

 

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