API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > OdGeCurve2d::paramAtLength Method
OdGeCurve2d::paramAtLength Method
Syntax
C++
double paramAtLength(double datumParam, double length, bool posParamDir = true, double tol = OdGeContext::gTol.equalPoint()) const;
Parameters 
Description 
double datumParam 
[in] Input parameter value.  
double length 
[in] Input arc length.  
bool posParamDir = true 
[in] Input parameter direction.  
double tol = OdGeContext::gTol.equalPoint() 
[in] Geometric tolerance. 

Returns the parameter value of the point whose arc length distance is the input length.

By default this function throws the exception "not Implemented". Should be implemented in derived classes.

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