API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > isOn Method > OdGeCurve2d::isOn Method (OdGePoint2d&, double&, OdGeTol&)
OdGeCurve2d::isOn Method (OdGePoint2d&, double&, OdGeTol&)
Syntax
C++
bool isOn(const OdGePoint2d& point, double& param, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGePoint2d& point 
[in] Input point.  
double& param 
[out] Output parameter value of point if the point lies on the curve.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Determines if a point lies on a curve. 

 

The param parameter is only set to a meaningful value if this function returns true.

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