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. 

 

Example of Working with the Line Object 

Computed Line Properties

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