Lines Matching refs:da1
676 double da1, da2, k;
693 da1 = x2 - x1;
695 d2 = k * (da1*dx + da2*dy);
696 da1 = x3 - x1;
698 d3 = k * (da1*dx + da2*dy);
744 da1 = fabs(atan2(y4 - y3, x4 - x3) - atan2(y3 - y2, x3 - x2));
745 if(da1 >= M_PI) da1 = 2*M_PI - da1;
747 if(da1 < m_angle_tolerance)
756 if(da1 > m_cusp_limit)
778 da1 = fabs(atan2(y3 - y2, x3 - x2) - atan2(y2 - y1, x2 - x1));
779 if(da1 >= M_PI) da1 = 2*M_PI - da1;
781 if(da1 < m_angle_tolerance)
790 if(da1 > m_cusp_limit)
816 da1 = fabs(k - atan2(y2 - y1, x2 - x1));
818 if(da1 >= M_PI) da1 = 2*M_PI - da1;
821 if(da1 + da2 < m_angle_tolerance)
831 if(da1 > m_cusp_limit)