Lines Matching refs:piece
128 nPiece = orig_pts[spP + i].piece;
868 if ( cp1->piece < cp2->piece ) return -1;
869 if ( cp1->piece > cp2->piece ) return 1;
908 lastPiece = i->piece;
919 res[nbCut].piece = i->piece;
920 res[nbCut].t = theta * i->t + (1 - theta) * ( (lastPiece != i->piece) ? 0 : lastT);
928 lastPiece = i->piece;
1013 result.piece = 0;
1016 result.piece = pts[bestSeg].piece;
1017 if (result.piece == pts[bestSeg - 1].piece) {
1033 double Path::PositionToLength(int piece, double t)
1038 if (pts[i].piece == piece && t < pts[i].t) {
1134 int cp=poss[curP].piece;
1172 if ( poss[j].piece == cp ) {
1173 poss[j].piece+=2;
1176 poss[j].piece+=2;
1196 if ( poss[j].piece == cp ) {
1197 poss[j].piece+=2;
1200 poss[j].piece+=2;
1250 if ( poss[j].piece == cp ) {
1251 poss[j].piece+=2;
1254 poss[j].piece+=2;
1291 if ( poss[j].piece == cp ) {
1292 poss[j].piece+=3;
1295 poss[j].piece+=3;
1321 if ( poss[j].piece == cp ) {
1322 poss[j].piece+=1;
1324 poss[j].piece+=1;
1348 if ( poss[j].piece == cp ) {
1349 // poss[j].piece+=1;
1351 poss[j].piece+=1;