Lines Matching refs:leftChain
52 void findBotLeftSegment(vertexArray* leftChain,
63 if(leftChain->getVertex(i)[0] >= u)
70 if(leftChain->getVertex(i+1)[0] <= leftChain->getVertex(i)[0])
233 vertexArray* leftChain,
250 tempBot = leftChain->getVertex(segIndexPass);
256 monoTriangulation2(tempTop, tempBot, leftChain, leftCorner, segIndexPass-1,
263 stripOfFanLeft(leftChain, segIndexMono, segIndexPass, grid, gridV, leftU, rightU, pStream, 1);
268 monoTriangulation2(tempTop, botVertex, leftChain, segIndexMono, leftEnd,
280 vertexArray* leftChain,
290 //if leftChain is empty, then there is only one botVertex with one grid line
297 findBotLeftSegment(leftChain, leftEnd, leftCorner, grid->get_u_value(leftU), segIndexMono, segIndexPass);
300 leftChain,
311 Int findBotSeparator(vertexArray* leftChain,
322 Real leftMax /*= leftChain->getVertex(leftCorner)[0]*/;
324 if(leftChain->getVertex(leftCorner)[1] < rightChain->getVertex(rightCorner)[1])//leftlower
328 leftMax = leftChain->getVertex(leftCorner)[0] - Real(1.0) ; //initilize to be left of leftCorner
335 leftMax = leftChain->getVertex(leftCorner)[0];
339 //i: the current working leftChain Index
371 if(leftChain->getVertex(k)[0] < rightMin) //no conflict
374 if(leftChain->getVertex(k)[0] > leftMax)
376 leftMax = leftChain->getVertex(k)[0];
385 else if(leftChain->getVertex(i)[1] < rightChain->getVertex(j)[1]) //left lower
388 if(leftChain->getVertex(i)[0] > leftMax) //update leftMax amd newLeftI
390 leftMax = leftChain->getVertex(i)[0];
395 if(rightChain->getVertex(k)[1] < leftChain->getVertex(i)[1]) //right gets lower
422 if(leftChain->getVertex(k)[1] < rightChain->getVertex(j)[1])
424 if(leftChain->getVertex(k)[0] > leftMax)
426 leftMax = leftChain->getVertex(k)[0];
453 vertexArray* leftChain,
514 tempBot = leftChain->getVertex(down_rightCornerIndex);
518 sampleBotLeftWithGridLine(tempBot, leftChain, tempLeftEnd, down_leftCornerIndex,
529 leftChain,
547 if(findBotSeparator(leftChain, leftEnd, down_leftCornerIndex,
553 if(leftChain->getVertex(sep_left)[0] >= leftGridChain->get_u_value(gridIndex) &&
558 findBotLeftSegment(leftChain,
570 if(leftChain->getVertex(segLeftMono)[1] <= rightChain->getVertex(segRightMono)[1])
573 while(leftGridChain->getGrid()->get_u_value(gridSep) > leftChain->getVertex(segLeftMono)[0])
583 sampleBotLeftWithGridLinePost(leftChain->getVertex(segLeftMono),
584 leftChain,
609 leftChain, segLeftMono, leftEnd,
613 else if(leftChain->getVertex(sep_left)[0] >= leftGridChain->get_u_value(gridIndex)) //left n right out
617 findBotLeftSegment(leftChain,
625 leftChain->getVertex(segLeftPass),
626 leftChain,
631 stripOfFanLeft(leftChain, segLeftMono, segLeftPass,
638 sampleBotLeftWithGridLinePost(leftChain->getVertex(segLeftMono),
639 leftChain,
653 leftChain, segLeftMono, leftEnd,
684 leftChain, down_leftCornerIndex, leftEnd,
692 leftChain,
711 leftChain,
730 vertexArray* leftChain,
779 ActualLeftChain.appendVertex(leftChain->getVertex(i));
810 ActualBot = leftChain->getVertex(down_rightCornerIndex);
814 printf("in bot simple, actual leftChain is \n");