Lines Matching full:tdist
661 INT32 minmaxdist, min_dist, max_dist, tdist;
691 tdist = (x - minc0) * C0_SCALE;
692 min_dist = tdist*tdist;
693 tdist = (x - maxc0) * C0_SCALE;
694 max_dist = tdist*tdist;
696 tdist = (x - maxc0) * C0_SCALE;
697 min_dist = tdist*tdist;
698 tdist = (x - minc0) * C0_SCALE;
699 max_dist = tdist*tdist;
704 tdist = (x - maxc0) * C0_SCALE;
705 max_dist = tdist*tdist;
707 tdist = (x - minc0) * C0_SCALE;
708 max_dist = tdist*tdist;
714 tdist = (x - minc1) * C1_SCALE;
715 min_dist += tdist*tdist;
716 tdist = (x - maxc1) * C1_SCALE;
717 max_dist += tdist*tdist;
719 tdist = (x - maxc1) * C1_SCALE;
720 min_dist += tdist*tdist;
721 tdist = (x - minc1) * C1_SCALE;
722 max_dist += tdist*tdist;
726 tdist = (x - maxc1) * C1_SCALE;
727 max_dist += tdist*tdist;
729 tdist = (x - minc1) * C1_SCALE;
730 max_dist += tdist*tdist;
736 tdist = (x - minc2) * C2_SCALE;
737 min_dist += tdist*tdist;
738 tdist = (x - maxc2) * C2_SCALE;
739 max_dist += tdist*tdist;
741 tdist = (x - maxc2) * C2_SCALE;
742 min_dist += tdist*tdist;
743 tdist = (x - minc2) * C2_SCALE;
744 max_dist += tdist*tdist;
748 tdist = (x - maxc2) * C2_SCALE;
749 max_dist += tdist*tdist;
751 tdist = (x - minc2) * C2_SCALE;
752 max_dist += tdist*tdist;