Close

Relief for ODA Team in Ukraine

Learn more
ODA PRC SDK
OdPrcCurve2d::createFromOdGeCurve Method
Syntax
C++
static OdResult createFromOdGeCurve(const OdGeCurve2d& geCurve, OdPrcCurve2dPtr& pPrcCurve, const OdGeTol& tol = OdGeContext::gTol);

Creates new 2d curve instance from OdGeCurve2d. 

 

Parameters
Description
geCurve
[in] A reference to an OdGeCurve2d object containing curve information to be set.
pPrcCurve
[in/out] Pointer object to which the result will be written.
tol
[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.

Copyright © 2002-2022. Open Design Alliance All rights reserved.