Logo Search packages:      
Sourcecode: inkscape version File versions

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(), sp_knot_distance(), and sp_node_selected_delete_segment().

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


Generated by  Doxygen 1.6.0   Back to index