API Reference > OdDb Classes > OdDbCurve Class > OdDbCurve Methods > getSplitCurves Method > OdDbCurve::getSplitCurves Method (OdGeDoubleArray&, OdRxObjectPtrArray&)
OdDbCurve::getSplitCurves Method (OdGeDoubleArray&, OdRxObjectPtrArray&)
Syntax
C++
virtual OdResult getSplitCurves(const OdGeDoubleArray& params, OdRxObjectPtrArray& curveSegments) const;
Parameters 
Description 
const OdGeDoubleArray& params 
[in] Array of curve parameters 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 this Curve object at the specified (parametric) points.

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

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