Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgCurveElement2dPE::getSplitCurves Method (const OdDgCurveElement2d*, const OdGePoint2dArray&, OdRxObjectPtrArray&)
Syntax
C++
virtual OdResult getSplitCurves(const OdDgCurveElement2d* pCurve, const OdGePoint2dArray& points, OdRxObjectPtrArray& curveSegments) const = 0;

Creates a set of curves representing this splitting of the specified Curve object at the specified (parametric) points.

Parameters
Description
pCurve
[in] Pointer to the curve to offset.
points
[in] Array of points defining the segments.
curveSegments
[out] Receives an array of SmartPointers to the curves segments.

Returns eOk if successful, or an appropriate error code if not.

Pointers to all new curves are appended to the curveSegments array.

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