API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > OdGeCurve2d::explode Method
OdGeCurve2d::explode Method
Syntax
C++
bool explode(OdGeCurve2dPtrArray& explodedCurves, OdGeIntArray& newExplodedCurve, const OdGeInterval* interval = NULL) const;
Parameters 
Description 
OdGeCurve2dPtrArray& explodedCurves 
[out] List of curves into which this curve was exploded.  
OdGeIntArray& newExplodedCurve 
[out] Array of flags telling whether the returned curves should be deleted.  
const OdGeInterval* interval = NULL 
[in] Interval of curve that is to be exploded.  

Returns true if the curve is exploded (that is, the curve was a composite or a discontinuous spline) and false otherwise.

Explodes the curve into its component sub-curves.

By default this function throws the exception "not Implemented". Should be implemented in derived classes.

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