API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > paramOf Method > OdGeCurve2d::paramOf Method (OdGePoint2d &, OdGeInterval *, OdGeTol &)
OdGeCurve2d::paramOf Method (OdGePoint2d &, OdGeInterval *, OdGeTol &)
Syntax
C++
double paramOf(const OdGePoint2d & point, const OdGeInterval * range, const OdGeTol & tol) const;
Parameters 
Description 
const OdGePoint2d & point 
[in] Input point on the curve.  
const OdGeInterval * range 
[in] Interval on the curve.  
const OdGeTol & tol 
[in] Geometric tolerance. 

Returns the parameter value of a point. 

 

The returned parameters specify a point within tol of point. In case of uvBox == NULL paramOf(point, tol) is called. If you are not sure the point is on the curve, use isOn () instead of this function. 

By default this function throws the exception "not Implemented". Should be implemented in derived classes.

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