Lines Matching refs:dist1
2650 float radius1,radius2,dist1,dist2; in _cvJoinChains() local
2690 dist1=dist2=-1; in _cvJoinChains()
2703 dist1 = _cvCalcEdgeIntersection(pEdge1, pEdge_left, &Point1,radius1); in _cvJoinChains()
2705 dist1 = _cvCalcEdgeIntersection(pEdge2, pEdge_left, &Point1,radius1); in _cvJoinChains()
2707 if(dist1>=0) in _cvJoinChains()
2733 if(dist1<0&&dist2<0) in _cvJoinChains()
2772 if(fabs(dist1 - dist2)<dist_eps) in _cvJoinChains()
2832 if((dist1<dist2&&dist1>=0)||(dist1>=0&&dist2<0)) in _cvJoinChains()
2881 if((dist1>dist2&&dist2>=0)||(dist1<0&&dist2>=0)) in _cvJoinChains()
3085 float radius1, radius2,dist1, dist2; in _cvFindOppositSiteCW() local
3094 dist1=dist2=-1; in _cvFindOppositSiteCW()
3098 dist1 = _cvCalcEdgeIntersection(pEdge, pEdge_left, &Point1,radius1); in _cvFindOppositSiteCW()
3099 if(dist1>=0) in _cvFindOppositSiteCW()
3105 if(dist2>=0 && dist1 >= dist2) in _cvFindOppositSiteCW()
3112 if(dist1<0) in _cvFindOppositSiteCW()
3140 double dist1, dist2; in _cvFindOppositSiteCCW() local
3150 dist1=dist2=-1; in _cvFindOppositSiteCCW()
3154 dist1 = _cvCalcEdgeIntersection(pEdge, pEdge_right, &Point1,radius2); in _cvFindOppositSiteCCW()
3155 if(dist1>=0) in _cvFindOppositSiteCCW()
3161 if(dist2>=0 && dist1 > dist2) in _cvFindOppositSiteCCW()
3168 if(dist1<0) in _cvFindOppositSiteCCW()
3211 float radius1,radius2,dist1,dist2; in _cvMergeVD() local
3235 dist1=dist2=-1; in _cvMergeVD()
3244 dist1 = _cvCalcEdgeIntersection(pEdge1, pEdge_left, &Point1,radius1); in _cvMergeVD()
3245 if(dist1>=0) in _cvMergeVD()
3263 if(dist1<0&&dist2<0) in _cvMergeVD()
3266 if(fabs(dist1 - dist2)<dist_eps) in _cvMergeVD()
3295 if((dist1<dist2&&dist1>=0)||(dist1>=0&&dist2<0)) in _cvMergeVD()
3317 if((dist1>dist2&&dist2>=0)||(dist1<0&&dist2>=0)) in _cvMergeVD()