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 curve.  
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, end or start of interval will be setted. In case of uvBox == NULL paramOf(point, rng, tol) is called in which rng - native range of curve. If you are not sure the point is on this curve, use isOn () instead of this function.

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