Lines Matching refs:d3
675 double d3 = fabs(((x3 - x4) * dy - (y3 - y4) * dx));
679 int(d3 > curve_collinearity_epsilon))
688 d3 = calc_sq_distance(x4, y4, x3, y3);
698 d3 = k * (da1*dx + da2*dy);
699 if(d2 > 0 && d2 < 1 && d3 > 0 && d3 < 1)
709 if(d3 <= 0) d3 = calc_sq_distance(x3, y3, x1, y1);
710 else if(d3 >= 1) d3 = calc_sq_distance(x3, y3, x4, y4);
711 else d3 = calc_sq_distance(x3, y3, x1 + d3*dx, y1 + d3*dy);
713 if(d2 > d3)
723 if(d3 < m_distance_tolerance_square)
734 if(d3 * d3 <= m_distance_tolerance_square * (dx*dx + dy*dy))
802 if((d2 + d3)*(d2 + d3) <= m_distance_tolerance_square * (dx*dx + dy*dy))