Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeCurve3d::getSplitCurves Method
Syntax
C++
void getSplitCurves(double param, OdGeCurve3d*& piece1, OdGeCurve3d*& piece2) const;

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

 

Parameters
Description
param
[in] Parameter value corresponding to the split point.
piece1
[out] Receives a pointer to the first curve.
piece2
[out] Receives a pointer to the second curve.

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-2022. Open Design Alliance All rights reserved.