API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > length Method > OdGeCurve2d::length Method (double)
OdGeCurve2d::length Method (double)
Syntax
C++
double length(double tol = OdGeContext::gTol.equalPoint()) const;
Parameters 
Description 
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.