Lines Matching defs:bound
358 * This bounds are returned through the output Interval parameter"bound".
363 Interval bound(0, 0);
365 bound.expandTo(signed_distance(c[i], l));
367 return bound;
377 // only when the lower or the upper bound is crossed
385 * line "l" and the interval range "bound", the new parameter interval for
390 Interval const &bound)
409 // std::cerr << "bound : " << bound << std::endl;
411 plower = (p[0][Y] < bound.min());
412 phigher = (p[0][Y] > bound.max());
423 clower = (p[i][Y] < bound.min());
424 chigher = (p[i][Y] > bound.max());
433 if (clower != plower) // cross the lower bound
435 t = intersect(p[i-1], p[i], bound.min());
443 if (chigher != phigher) // cross the upper bound
445 t = intersect(p[i-1], p[i], bound.max());
457 clower = (p[0][Y] < bound.min());
458 chigher = (p[0][Y] > bound.max());
459 if (clower != plower) // cross the lower bound
461 t = intersect(p[last], p[0], bound.min());
467 if (chigher != phigher) // cross the upper bound
469 t = intersect(p[last], p[0], bound.max());
501 Interval bound = fat_line_bounds(A, bl);
502 return clip_interval(B, bl, bound);