API Reference > OdDg Classes > OdDgCurveElement3dPE Class > OdDgCurveElement3dPE Methods > getSplitCurves Method > OdDgCurveElement3dPE::getSplitCurves Method (OdDgCurveElement3d*, OdGePoint3dArray&, OdRxObjectPtrArray&)
OdDgCurveElement3dPE::getSplitCurves Method (OdDgCurveElement3d*, OdGePoint3dArray&, OdRxObjectPtrArray&)
Syntax
C++
virtual OdResult getSplitCurves(const OdDgCurveElement3d* pCurve, const OdGePoint3dArray& points, OdRxObjectPtrArray& curveSegments) const = 0;
Parameters 
Description 
const OdDgCurveElement3d* pCurve 
[in] Pointer to the curve to offset.  
const OdGePoint3dArray& points 
[in] Array of points defining the segments.  
OdRxObjectPtrArray& curveSegments 
[out] Receives an array of SmartPointers to the curves segments. 

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

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

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

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