API Reference > OdDb Classes > OdDbMPolygon Class > OdDbMPolygon Methods > OdDbMPolygon::insertMPolygonLoopAt Method
OdDbMPolygon::insertMPolygonLoopAt Method
Syntax
C++
virtual OdResult insertMPolygonLoopAt(int loopIndex, const OdGePoint2dArray& vertices, const OdGeDoubleArray& bulges, bool excludeCrossing = true, double tol = OdDbMPolygonCrossingFuzz);
Parameters 
Description 
int loopIndex 
[in] Loop index.  
const OdGePoint2dArray& vertices 
[in] Array of vertices.  
const OdGeDoubleArray& bulges 
[in] Array of bulge values for loops.  
bool excludeCrossing = true 
[in] Set true to disable creating a polygon if there are crosses between loops.  
double tol = OdDbMPolygonCrossingFuzz 
[in] Measurement accuracy tolerance.
 

eAmbiguousInput if excludeCrossing is true and there are crosses between loops; eOk if a polygon insert successfully.

Inserts a polygon loop to the specified position. 

 

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