API Reference > OdDb Classes > OdDbLine Class > OdDbLine Methods > OdDbLine::getParamAtPoint Method
OdDbLine::getParamAtPoint Method
Syntax
C++
virtual OdResult getParamAtPoint(const OdGePoint3d& pointOnCurve, double& param) const;
Parameters 
Description 
const OdGePoint3d& pointOnCurve 
[in] Three-dimensional point instance which specifies the point on the line.  
double& param 
[out] Reference to a variable in which this method must save the parameter value as a Double value. 

Computes the parameter at the point placed on the line. Parameter is a distance measured from the start point in drawing units. 

 

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