API Reference > OdDg Classes > OdDgCurve2d Class > OdDgCurve2d Methods > OdDgCurve2d::setFromOdGeCurve Method
OdDgCurve2d::setFromOdGeCurve Method
Syntax
C++
virtual OdResult setFromOdGeCurve(const OdGeCurve2d& geCurve, const OdGeTol& tol = OdGeContext::gTol);
Parameters 
Description 
const OdGeCurve2d& geCurve 
[in] reference to an OdGeCurve2d.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Optional tolerance. 

Returns eOk if successful.

Takes an OdGeCurve3d and sets this OdDbCurve to be geometrically identical to the OdGeCurve3d.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.