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 greate that OdDbMPolygon::numMPolygonLoops() or if loopIndex less than 0. eOk if a polygon loop returned successfully.

Returns the specified loop. 

 

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