API Reference > Classes > PRC Curve Classes > OdPrcCurve3d Class > OdPrcCurve3d Methods > OdPrcCurve3d::setFromOdGeCurve Method
OdPrcCurve3d::setFromOdGeCurve Method
Syntax
C++
virtual OdResult setFromOdGeCurve(const OdGeCurve3d& geCurve, const OdGeTol& tol = OdGeContext::gTol);
Parameters 
Description 
const OdGeCurve3d& geCurve 
[in] A reference to an OdGeCurve3d 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.