API Reference > Classes > PRC Curve Classes > OdPrcCurve3d Class > OdPrcCurve3d Methods > OdPrcCurve3d::createFromOdGeCurve Method
OdPrcCurve3d::createFromOdGeCurve Method
Syntax
C++
static OdResult createFromOdGeCurve(const OdGeCurve3d& geCurve, OdPrcCurve3dPtr& pPrcCurve, const OdGeTol& tol = OdGeContext::gTol);
Parameters 
Description 
const OdGeCurve3d& geCurve 
[in] A reference to an OdGeCurve3d object containing curve information to be set.  
OdPrcCurve3dPtr& pPrcCurve 
[in/out] Pointer object to which the result will be written.  
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.

Creates new 3d curve instance from OdGeCurve3d. 

 

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