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

Computes the WCS coordinates of the point on the line at the specified parameter value. 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.