Searched refs:currentDist (Results 1 – 2 of 2) sorted by relevance
/haiku/src/apps/icon-o-matic/generic/support/ |
H A D | support.cpp | 40 float currentDist = min_c(a, b); in point_line_distance() local 47 currentDist = fabs(point_line_distance(pa.x, pa.y, pb.x, pb.y, in point_line_distance() 52 return currentDist; in point_line_distance()
|
/haiku/src/libs/icon/shape/ |
H A D | VectorPath.cpp | 650 float currentDist = min_c(a, b); in distance_to_curve() local 659 currentDist = fabs(agg::calc_line_point_distance(x1, y1, x2, y2, in distance_to_curve() 664 if (currentDist < segDist) in distance_to_curve() 665 segDist = currentDist; in distance_to_curve()
|