Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbMPolygon::insertMPolygonLoopAt Method
Syntax
C++
virtual OdResult insertMPolygonLoopAt(int loopIndex, const OdGePoint2dArray& vertices, const OdGeDoubleArray& bulges, bool excludeCrossing = true, double tol = OdDbMPolygonCrossingFuzz);

Inserts a polygon loop to the specified position. 

 

Parameters
Description
loopIndex
[in] Loop index.
vertices
[in] Array of vertices.
bulges
[in] Array of bulge values for loops.
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 insert successfully.

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