Lines Matching refs:rightChain
80 void findTopRightSegment(vertexArray* rightChain,
91 if(rightChain->getVertex(i)[0] <= u)
99 if(rightChain->getVertex(i-1)[0] >= rightChain->getVertex(i)[0])
108 vertexArray* rightChain,
124 tempTop = rightChain->getVertex(segIndexLarge);
132 rightChain, segIndexLarge+1, rightEnd,
136 rightChain,
148 stripOfFanRight(rightChain, segIndexLarge, segIndexSmall, grid, gridV, leftU, rightU, pStream, 0);
152 monoTriangulation2(topVertex, tempBot, rightChain, rightStart, segIndexSmall, 0, pStream);
159 vertexArray* rightChain,
176 findTopRightSegment(rightChain,
183 sampleTopRightWithGridLinePost(topVertex, rightChain,
329 vertexArray* rightChain,
339 Real rightMin /*= rightChain->getVertex(rightEndIndex)[0]*/;
340 if(leftChain->getVertex(leftEndIndex)[1] > rightChain->getVertex(rightEndIndex)[1]) //left higher
345 rightMin = rightChain->getVertex(rightEndIndex)[0];
352 rightMin = rightChain->getVertex(rightEndIndex)[0] + Real(1.0);
356 //j: the current working rightChain index,
370 if(rightChain->getVertex(k)[0] > leftMax) //no conflict
373 if(rightChain->getVertex(k)[0] < rightMin)
375 rightMin = rightChain->getVertex(k)[0];
384 else if(j<rightStartIndex) //rightChain is done
402 else if(leftChain->getVertex(i)[1] > rightChain->getVertex(j)[1]) //left hgiher
411 if(rightChain->getVertex(k)[1] > leftChain->getVertex(i)[1])
413 if(rightChain->getVertex(k)[0] < rightMin)
415 rightMin = rightChain->getVertex(k)[0];
430 if(rightChain->getVertex(j)[0] < rightMin)
432 rightMin = rightChain->getVertex(j)[0];
437 if(leftChain->getVertex(k)[1] > rightChain->getVertex(j)[1])
471 vertexArray* rightChain,
503 tempTop = rightChain->getVertex(up_leftCornerIndex);
505 sampleTopRightWithGridLine(tempTop, rightChain, tempRightStart, up_rightCornerIndex,
537 rightChain,
553 rightChain,
570 rightChain,
579 rightChain->getVertex(sep_right)[0] <= rightGridChain->get_u_value(gridIndex1))
590 findTopRightSegment(rightChain,
596 if(leftChain->getVertex(segLeftSmall)[1] >= rightChain->getVertex(segRightSmall)[1])
610 while(leftGridChain->getGrid()->get_u_value(gridSep) < rightChain->getVertex(segRightSmall)[0])
613 if(leftGridChain->getGrid()->get_u_value(gridSep) > rightChain->getVertex(segRightSmall+1)[0])
624 rightChain,
648 sampleTopRightWithGridLinePost(rightChain->getVertex(segRightSmall),
649 rightChain,
664 rightChain, rightStartIndex, segRightSmall,
697 rightChain, rightStartIndex, up_rightCornerIndex,
700 else if(rightChain->getVertex(sep_right)[0] <= rightGridChain->get_u_value(gridIndex1))
703 findTopRightSegment(rightChain,
710 monoTriangulation2(rightChain->getVertex(segRightLarge),
712 rightChain,
717 stripOfFanRight(rightChain, segRightLarge, segRightSmall,
727 rightChain, rightStartIndex,segRightSmall,
737 rightChain,
755 rightChain,
907 vertexArray* rightChain,
953 ActualRightChain.appendVertex(rightChain->getVertex(i));
978 ActualTop = rightChain->getVertex(up_leftCornerIndex);