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. 

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

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

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