API Reference > Classes > PRC Curve Classes > OdPrcCompositeCurve2d Class > OdPrcCompositeCurve2d Methods > OdPrcCompositeCurve2d::setData Method
OdPrcCompositeCurve2d::setData Method
Syntax
C++
OdResult setData(const OdPrcCurvePtrArray& base_curve, const OdBoolArray& base_sense, bool is_closed, const OdPrcParameterization& param);
Parameters 
Description 
const OdPrcCurvePtrArray& base_curve 
[in] An array of sub curves which the composite curve must consist of.  
const OdBoolArray& base_sense 
[in] An array of sub curves direction data (each element is true if the sub curve has the same direction as the composite curve or false if it is not).  
bool is_closed 
[in] A new value of the closed curve flag (is true if composite curve is closed or false in the other case).  
const OdPrcParameterization& param 
[in] A new parameterization parameters value.
 

Returns eOk if all the passed information was successfully set to the composite curve or an appropriate error in the other case.

Sets new values of the composite curve's data. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.