API Reference > OdDg Classes > OdDgEllipse2d Class > OdDgEllipse2d Methods > OdDgEllipse2d::setFromOdGeCurve Method
OdDgEllipse2d::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.