API Reference > OdDb Classes > OdDbSpline Class > OdDbSpline Methods > OdDbSpline::getSplitCurves Method
OdDbSpline::getSplitCurves Method
Syntax
C++
virtual OdResult getSplitCurves(const OdGeDoubleArray& params, OdRxObjectPtrArray& entitySet) const;
Parameters 
Description 
const OdGeDoubleArray& params 
[in] The parameter values corresponding to the split points.  
OdRxObjectPtrArray& entitySet 
[out] Receives an array of pointers to the split curves. 

Returns pointers to the curves that result from splitting this curve at the points corresponding to params. 

 

  • The first split curve will be from the start of this curve to params[0].
  • The second split curve will be from params[0] to params[1].
  • The last split curve will be from params[n-1] to the end of his curve.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.