API Reference > OdGe Classes > OdGeCurve3d Class > OdGeCurve3d Methods > OdGeCurve3d::getSplitCurves Method
OdGeCurve3d::getSplitCurves Method
Syntax
C++
void getSplitCurves(double param, OdGeCurve3d*& piece1, OdGeCurve3d*& piece2) const;
Parameters 
Description 
double param 
[in] The parameter value corresponding to the split point.  
OdGeCurve3d*& piece1 
[out] Receives a pointer to the first curve.  
OdGeCurve3d*& piece2 
[out] Receives a pointer to the second curve. 

Returns pointers to the two curves that result from splitting this curve at the point corresponding to param. 

 

If param corresponds to a point not on this curve, or to the start point or end point of this curve, piece1 and piece2 are set to NULL. 

The curves pointed to by piece1 and piece2 are created with the new command, and must be deleted by the caller.

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