API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > length Method > OdGeCurve2d::length Method (double, double, double)
OdGeCurve2d::length Method (double, double, double)
Syntax
C++
double length(double fromParam, double toParam, double tol = OdGeContext::gTol.equalPoint()) const;
Parameters 
Description 
double fromParam 
[in] First parameter value that represents the start of the curve.  
double toParam 
[in] Second parameter value that represents the end of the curve.  
double tol = OdGeContext::gTol.equalPoint() 
[in] Geometric tolerance. 

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

Returns the arc length of the curve between the two parameter values.

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