Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Coord Geom::L2sq ( Point const &  p ) [inline]

Compute the square of L2 norm of p. Warning: this can overflow where L2 won't.

Definition at line 177 of file point.h.

Referenced by distanceSq().

{ return p[0]*p[0] + p[1]*p[1]; }

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index