Logo Search packages:      
Sourcecode: inkscape version File versions

Coord Geom::distance ( Point const &  a,
Point const &  b 
) [inline]

compute the euclidean distance between points a and b. TODO: hypot safer/faster?

Definition at line 205 of file point.h.

Referenced by bezier_fit_cubic_full(), chord_length_parameterize(), compute_hook(), estimate_lengths(), sp_knot_class_init(), sp_knot_distance(), and sp_node_selected_delete_segment().

{ return L2(a - b); }


Generated by  Doxygen 1.6.0   Back to index