API Reference > OdDg Classes > OdDgBSplineCurve2d Class > OdDgBSplineCurve2d Methods > OdDgBSplineCurve2d::getParamAtPoint Method
OdDgBSplineCurve2d::getParamAtPoint Method
Syntax
C++
virtual OdResult getParamAtPoint(const OdGePoint2d& pointOnCurve, double& param) const;
Parameters 
Description 
const OdGePoint2d& pointOnCurve 
[in] Point to be evaluated. 
double& param 
[out] Receives the parameter corresponding to pointOnCurve.  

Returns eOk if successful, or an appropriate error code if not.

Returns the parameter corresponding to the specified WCS point on this Curve object. 

 

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