Lines Matching defs:at
89 // insert it in the doubly-linked list, knowing that boundary at index n-1 is not too far before me
252 * Add a coverage portion by appending boundaries at the end of the list.
407 float FloatLigne::RemainingValAt(float at, int pending)
413 sum+=bords[nn].val+(at-bords[nn].pos)*bords[nn].pente;
414 // sum+=((at-bords[nn].pos)*bords[no].val+(bords[no].pos-at)*bords[nn].val)/(bords[no].pos-bords[nn].pos);
415 // sum+=ValAt(at,bords[nn].pos,bords[no].pos,bords[nn].val,bords[no].val);
418 // for each portion being scanned, compute coverage at position "at" and sum.
419 // we could simply compute the sum of portion coverages as a "f(x)=ux+y" and evaluate it at "x=at",
425 sum += bords[nn].val + (at - bords[nn].pos) * bords[nn].pente;
466 float cur = bords[i].pos; // position of the current boundary (there may be several boundaries at this position)
467 float leftV = 0; // deltas in coverage value at this position
469 float leftP = 0; // deltas in coverage increase per unit length at this position
476 // start by scanning all boundaries that end a portion at this position
501 // then scan all boundaries that start a portion at this position
514 // coverage value at end of the run will be "start coverage"+"delta per unit length"*"length"