API Reference > Classes > PRC Curve Classes > OdPrcCurve2d Class > OdPrcCurve2d Methods > OdPrcCurve2d::setFromOdGeCurve Method
OdPrcCurve2d::setFromOdGeCurve Method
Syntax
C++
OdResult setFromOdGeCurve(const OdGeCurve2d& geCurve, const OdGeTol& tol = OdGeContext::gTol);
Parameters 
Description 
const OdGeCurve2d& geCurve 
[in] A reference to an OdGeCurve2d object containing curve information to be set.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Tolerance. Default value is equal to OdGeContext::gTol.
 

Returns eOk if common curve information was successfully set or an appropriate error code in the other case.

Sets a new instance of the curve data. 

 

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