Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbMPolygon::appendLoopFromBoundary Method (const OdDbPolyline*, bool, double)
Syntax
C++
virtual OdResult appendLoopFromBoundary(const OdDbPolyline* pPoly, bool excludeCrossing = true, double tol = OdDbMPolygonCrossingFuzz);

Appends a polygon loop. 

 

Parameters
Description
pPoly
[in] Pointer to the OdDbPolyline entity.
excludeCrossing
[in] Set true to disable creating a polygon if there are crosses between loops.
tol
[in] Measurement accuracy tolerance.

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

OdDbPolyline must be closed. This means that it must have three or more points and all points should not lie on one straight line.

Copyright © 2002-2022. Open Design Alliance All rights reserved.