API Reference > Classes > PRC Curve Classes > OdPrcCurve2d Class > OdPrcCurve2d Methods > OdPrcCurve2d::getOdGeCurve Method
OdPrcCurve2d::getOdGeCurve Method
Syntax
C++
OdResult getOdGeCurve(OdGeCurve2d*& pGeCurve, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
OdGeCurve2d*& pGeCurve 
[out] A reference to an OdGeCurve2d object pointer to store curve information.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Tolerance. Default value is equal to OdGeContext::gTol.
 

Returns eOk if common curve information was successfully passed back to the calling subroutine or returns an appropriate error code in the other case.

Returns the current curve data. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.