Searched refs:abs_distance (Results 1 – 4 of 4) sorted by relevance
94 int abs_distance = abs(distance); in main() local99 total_distance += abs_distance; in main()100 if (abs_distance > max_distance) in main()102 max_distance = abs_distance; in main()187 int abs_distance = abs(distance); in main() local192 total_distance += abs_distance; in main()193 if (abs_distance > max_distance) in main()195 max_distance = abs_distance; in main()
118 SampleType abs_distance = step_val < 0 ? begin_val - *end_val : *end_val-begin_val; in _() local120 std::size_t s = static_cast<std::size_t>(abs_distance/abs_step); in _()122 if( static_cast<SampleType>(s*abs_step) < abs_distance ) in _()
644 CalcT const d = abs_distance(dist_a1_a2, dist_a1_ip); in calculate_ip_data()650 CalcT const d2 = abs_distance(dist_a1_a2, dist_a1_i2); in calculate_ip_data()829 static inline CalcT abs_distance(CalcT const& dist_a1_a2, CalcT const& dist_a1_i1) in abs_distance() function
1495 double abs_distance, rel_distance; in tp_detect_jumps() local1542 abs_distance = hypot(mm.x, mm.y) * reference_interval/tdelta; in tp_detect_jumps()1543 rel_distance = abs_distance - t->jumps.last_delta_mm; in tp_detect_jumps()1563 is_jump = abs_distance > 20.0 || rel_distance > 7; in tp_detect_jumps()1564 t->jumps.last_delta_mm = abs_distance; in tp_detect_jumps()