API Reference > OdGe Classes > OdGeCurve3d Class > OdGeCurve3d Methods > OdGeCurve3d::paramAtLength Method
OdGeCurve3d::paramAtLength Method
Syntax
C++
double paramAtLength(double datumParam, double length, bool posParamDir = true, double tol = OdGeContext::gTol.equalPoint()) const;
Parameters 
Description 
double datumParam 
[in] Parameter corresponding to the start point.  
double length 
[in] Distance along curve from the start point.  
bool posParamDir = true 
[in] True if and only if returned parameter is to be greater than dataParam.  
double tol = OdGeContext::gTol.equalPoint() 
[in] Geometric tolerance. 

Returns the parameter of the point a specified distance from the starting point corresponding to datumParam. 

 

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