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

double Geom::distance ( Point const &  p,
Rect const &  rect 
) [inline]

Returns the smallest distance between p and rect.

Definition at line 190 of file rect.h.

References distanceSq().

Referenced by hausdorf(), hausdorfl(), sp_knot_class_init(), and sp_knot_distance().

    return std::sqrt(distanceSq(p, rect));

Generated by  Doxygen 1.6.0   Back to index