API Reference > OdDg Classes > OdDgCurve2d Class > OdDgCurve2d Methods > OdDgCurve2d::getOdGeCurve Method
OdDgCurve2d::getOdGeCurve Method
Syntax
C++
virtual OdResult getOdGeCurve(OdGeCurve2d*& pGeCurve, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
OdGeCurve2d*& pGeCurve 
[out] Receives a pointer to an OdGeCurve3d object that is geometrically identical to this OdDbCurve. The caller of this function is responsible for deleting this OdGeCurve3d object.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Optional tolerance. 

Returns eOk if successful.

Returns an OdGeCurve3d that is geometrically identical to this OdDbCurve.

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