API Reference > OdDb Classes > OdDbMPolygon Class > OdDbMPolygon Methods > OdDbMPolygon::setLoopDirection Method
OdDbMPolygon::setLoopDirection Method
Syntax
C++
virtual OdResult setLoopDirection(int lindex, OdDbMPolygon::loopDir dir);
Parameters 
Description 
int lindex 
[in] Loop index as an Ingeter value in range 0 to numMPolygonLoops()-1.  
OdDbMPolygon::loopDir dir 
[in] Loop direction.
 

eOk if successful, or eInvalidInput if loop index is out of range.

Sets the direction for the specified loop in the closed polygon. 

 

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