Home | History | Annotate | Download | only in src

Lines Matching defs:dist

216             int dist;
230 dist = (ip.y - v0.y)*(v.x - v0.x) - (ip.x - v0.x)*(v.y - v0.y);
231 if( dist == 0 )
234 dist = -dist;
235 counter += dist > 0;
259 double dist;
281 dist = (double)(pt.y - v0.y)*(v.x - v0.x) - (double)(pt.x - v0.x)*(v.y - v0.y);
282 if( dist == 0 )
285 dist = -dist;
286 counter += dist > 0;