Searched refs:dropD (Results 1 – 2 of 2) sorted by relevance
573 int dropD; // length of perpendicular (i.e. distance of point from line) in FindBestPoint() local656 dropD = ((a * h) + (b * k) + c) / (int)sqrt((float)a*a + (float)b*b); in FindBestPoint()657 dropD = ABS(dropD); in FindBestPoint()658 if (dropD < shortestD) { in FindBestPoint()659 shortestD = dropD; in FindBestPoint()666 dropD = ABS(h - ptp.getNodeX(nearestN)) + ABS(k - ptp.getNodeY(nearestN)); in FindBestPoint()669 if (dropD < shortestD) { in FindBestPoint()
619 int dropD; // length of perpendicular (i.e. distance of point from line) in FindBestPoint() local702 dropD = ((a * h) + (b * k) + c) / (int)sqrt((float)a*a + (float)b*b); in FindBestPoint()703 dropD = ABS(dropD); in FindBestPoint()704 if (dropD < shortestD) { in FindBestPoint()705 shortestD = dropD; in FindBestPoint()712 dropD = ABS(h - ptp.getNodeX(nearestN)) + ABS(k - ptp.getNodeY(nearestN)); in FindBestPoint()715 if (dropD < shortestD) { in FindBestPoint()