API Reference > OdDb Classes > OdDbMPolygon Class > OdDbMPolygon Methods > appendLoopFromBoundary Method > OdDbMPolygon::appendLoopFromBoundary Method (OdDb2dPolyline*, bool, double)
OdDbMPolygon::appendLoopFromBoundary Method (OdDb2dPolyline*, bool, double)
Syntax
C++
virtual OdResult appendLoopFromBoundary(const OdDb2dPolyline* pPoly, bool excludeCrossing = true, double tol = OdDbMPolygonCrossingFuzz);
Parameters 
Description 
const OdDb2dPolyline* pPoly 
[in] Pointer to OdDb2dPolyline entity.  
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. 

remarks OdDb2dPolyline must be closed - means has three points or more and all points should not lie on one straight line.

Appends a polygon loop. 

 

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