API Reference > OdDb Classes > OdDbMPolygon Class > OdDbMPolygon Methods > OdDbMPolygon::appendMPolygonLoop Method
OdDbMPolygon::appendMPolygonLoop Method
Syntax
C++
virtual OdResult appendMPolygonLoop(const OdGePoint2dArray& vertices, const OdGeDoubleArray& bulges, bool excludeCrossing = true, double tol = OdDbMPolygonCrossingFuzz);
Parameters 
Description 
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 appended successfully.

Appends a polygon loop. 

 

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