Parameters |
Description |
const OdRxObjectPtrArray& curveSegments |
[in] Array of curve segments. Each curve segment must be one of the following: OdDb3dPolyline, OdDbArc, OdDbCircle, OdDbEllipse, OdDbLine, OdDbPolyline or OdDbSpline. |
OdRxObjectPtrArray& regions |
[out] Receives an array of pointers to the regions. |
eOk if successful, or an appropriate error code otherwise. If there are curveSegments with self-intersections, returns eInvalidInput.
Creates OdDbRegion entities from the closed loops defined by the specified curve segments.
The newly created regions are non-database residents. It is up to the caller to either add them to an OdDbDatabase or to delete them.
Copyright © 2002–2021. Open Design Alliance. All rights reserved.
|