Lines Matching refs:length
6 * The functions defined in this header related to 2d geometric operations such as arc length,
8 * arbitrary D2 and returns a D2 with unit length with the same direction.
327 Piecewise<SBasis> length = integral(dMlength);
328 length-=length.segs.front().at0();
329 return length;
344 Geom::length(D2<SBasis> const &M,
346 Piecewise<SBasis> length = arcLengthSb(M, tol);
347 return length.segs.back().at1();
350 Geom::length(Piecewise<D2<SBasis> > const &M,
352 Piecewise<SBasis> length = arcLengthSb(M, tol);
353 return length.segs.back().at1();
450 /** Calculates the length of a D2<SBasis> through gsl integration.
453 \param result variable to be incremented with the length of the path
456 If you only want the length, this routine may be faster/more accurate.
477 /** Calculates the length of a D2<SBasis> through gsl integration.
481 If you only want the total length, this routine faster and more accurate than constructing an arcLengthSb.
484 Geom::length(D2<SBasis> const &s,
491 /** Calculates the length of a Piecewise<D2<SBasis> > through gsl integration.
495 If you only want the total length, this routine faster and more accurate than constructing an arcLengthSb.
498 Geom::length(Piecewise<D2<SBasis> > const &s,
706 double dM0_l = dM0.length();
707 double dM1_l = dM1.length();
733 double length;
734 length = dM0.length();
735 double d2M0xdM0 = k0*length*length*length;
736 length = dM1.length();
737 double d2M1xdM1 = k1*length*length*length;