API Reference > OdDg Classes > OdDgCurveElement2d Class > OdDgCurveElement2d Methods > OdDgCurveElement2d::setFromOdGeCurve Method
OdDgCurveElement2d::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–2021. Open Design Alliance. All rights reserved.