Lines Matching refs:weight
26 weight+=v->weight;
27 wposn += v->weight * (v->desiredPosition - v->offset);
28 posn=wposn/weight;
32 posn=weight=wposn=0;
46 wp += ((*v)->desiredPosition - (*v)->offset) * (*v)->weight;
101 wposn+=b->wposn-dist*b->weight;
102 weight+=b->weight;
103 posn=wposn/weight;
215 double dfdv=v->weight*(v->position() - v->desiredPosition);
250 double dfdv=v->weight*(v->position() - v->desiredPosition);
381 c += (*v)->weight * diff * diff;