Lines Matching defs:botRightIndex
851 vertexArray *rightChain, Int botRightIndex,
859 printf("enter findNeckF, botleft, botright=%i,%i,gstartindex=%i\n",botLeftIndex,botRightIndex,gridStartIndex);
871 botRightIndex >= rightChain->getNumElements())
874 v=min(leftChain->getVertex(botLeftIndex)[1], rightChain->getVertex(botRightIndex)[1]);
904 botRight2 = rightChain->findIndexFirstAboveEqualGen(leftGridChain->get_v_value(lowerGridIndex), botRightIndex, rightChain->getNumElements()-1) -1;
905 if(botRight2 < botRightIndex) botRight2=botRightIndex;
910 assert(botRight2 >= botRightIndex);
923 tempI = botRightIndex;
925 for(i=botRightIndex+1; i<= botRight2; i++)
938 /*find i>=botLeftIndex,j>=botRightIndex so that
942 vertexArray *rightChain, Int botRightIndex,
948 botRightIndex < rightChain->getNumElements());
952 if(leftChain->getVertex(botLeftIndex)[1] <= rightChain->getVertex(botRightIndex)[1]) //left below right
959 rightLastIndex=rightChain->findIndexAboveGen(leftChain->getVertex(botLeftIndex)[1], botRightIndex+1, rightChain->getNumElements()-1);
964 rightLastIndex = botRightIndex;
966 leftLastIndex = leftChain->findIndexAboveGen(rightChain->getVertex(botRightIndex)[1],
1527 Int botRightIndex = rightChain->findIndexStrictBelowGen(
1532 * or botRightIndex >= numelemnet,
1535 if(! findNeckF(leftChain, botLeftIndex, rightChain, botRightIndex,
1539 botRightIndex == rightChain->getNumElements())
1543 printf("neck NOT exists, botRightIndex=%i\n", botRightIndex);
1549 botRightIndex = rightChain->getNumElements()-1;
1559 rightChain, botRightIndex,
1575 botRightIndex = neckRightIndex;
1584 botRightIndex = neckRightIndex-1;
1595 rightStartIndex, botRightIndex,
1608 rightStartIndex, botRightIndex,
1647 rightStartIndex, botRightIndex,