Searched refs:distance_2 (Results 1 – 3 of 3) sorted by relevance
138 [section:distance_2 distance]
4501 double distance_2; in get_closest_border() local4513 distance_2 = delta.x*delta.x + delta.y*delta.y; in get_closest_border()4514 if (distance_2 < closest_distance_2) { in get_closest_border()4516 closest_distance_2 = distance_2; in get_closest_border()4723 double distance_2; in maybe_warp_confined_pointer() local4725 distance_2 = point_to_border_distance_2(border, xf, yf); in maybe_warp_confined_pointer()4726 if (distance_2 < closest_distance_2) { in maybe_warp_confined_pointer()4728 closest_distance_2 = distance_2; in maybe_warp_confined_pointer()
129 geometry/reference/algorithms/distance/distance_2.html