Logo Search packages:      
Sourcecode: inkscape version File versions

Coord NR::L2 ( Point const &  p  )  [inline]

Compute the L2, or euclidean, norm of p.

Definition at line 20 of file nr-point-fns.h.

Referenced by compute_hook().

                                {
      return hypot(p[0], p[1]);
}


Generated by  Doxygen 1.6.0   Back to index