API Reference > OdGe Classes > OdGeCurve3d Class > OdGeCurve3d Methods > paramOf Method > OdGeCurve3d::paramOf Method (OdGePoint3d&, OdGeTol&)
OdGeCurve3d::paramOf Method (OdGePoint3d&, OdGeTol&)
Syntax
C++
double paramOf(const OdGePoint3d& point, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGePoint3d& point 
[in] Point to be evaluated.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Returns the parameter value of a point. 

 

The returned parameters specify a point within tol of point. If point is not on this curve, the results are unpredictable. If you are not sure the point is on this curve, use isOn () instead of this function. 

If projection of the point does not lie in range-interval, the closest bound of the interval is returned. In case of uvBox == NULL paramOf(point, tol) is called.

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