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

Returns the parameter value of a point. 

 

The returned parameter specifies a point within the tolerance of the point. If the point is not on this curve, end or start of the interval will be set. In case of uvBox == NULL paramOf(point, rng, tol) is called in which range - native range of the curve. If you are not sure whether the point is on this curve, use isOn() instead of this function.

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