Logo Search packages:      
Sourcecode: inkscape version File versions

double Geom::length ( D2< SBasis > const &  s,
double  tol 
)

Calculates the length of a D2<SBasis> through gsl integration.

Parameters:
s the Element.
tol the maximum error allowed.
If you only want the total length, this routine faster and more accurate than constructing an arcLengthSb.

Definition at line 481 of file sbasis-geometric.cpp.

References length_integrating().

                            {
    double result = 0;
    double abs_error = 0;
    length_integrating(s, result, abs_error, tol);
    return result;
}


Generated by  Doxygen 1.6.0   Back to index