Lines Matching defs:grid
113 gridWrap* grid,
128 tempBot[0] = grid->get_u_value(rightU);
129 tempBot[1] = grid->get_v_value(gridV);
148 stripOfFanRight(rightChain, segIndexLarge, segIndexSmall, grid, gridV, leftU, rightU, pStream, 0);
150 tempBot[0] = grid->get_u_value(leftU);
151 tempBot[1] = grid->get_v_value(gridV);
154 else //the topVertex forms a fan with the grid points
155 grid->outputFanWithPoint(gridV, leftU, rightU, topVertex, pStream);
162 gridWrap* grid,
169 //if right chian is empty, then there is only one topVertex with one grid line
171 grid->outputFanWithPoint(gridV, leftU, rightU, topVertex, pStream);
179 grid->get_u_value(rightU),
188 grid,
202 gridWrap* grid,
218 tempBot[0] = grid->get_u_value(leftU);
219 tempBot[1] = grid->get_v_value(gridV);
232 //if there are grid points which are to the right of topV,
236 if(topVertex[0] >= grid->get_u_value(rightU))
253 //find midU so that grid->get_u_value(midU) >= topVertex[0]
254 //and grid->get_u_value(midU-1) < topVertex[0]
256 while(grid->get_u_value(midU) >= topVertex[0])
264 grid->outputFanWithPoint(gridV, midU, rightU, topVertex, pStream);
265 stripOfFanLeft(leftChain, segIndexLarge, segIndexSmall, grid, gridV, leftU, midU, pStream, 0);
267 tempBot[0] = grid->get_u_value(midU);
268 tempBot[1] = grid->get_v_value(gridV);
274 stripOfFanLeft(leftChain, segIndexLarge, segIndexSmall, grid, gridV, leftU, rightU, pStream, 0);
276 tempBot[0] = grid->get_u_value(rightU);
277 tempBot[1] = grid->get_v_value(gridV);
281 else //the topVertex forms a fan with the grid points
282 grid->outputFanWithPoint(gridV, leftU, rightU, topVertex, pStream);
290 gridWrap* grid,
298 //if left chain is empty, then there is only one top vertex with one grid
301 grid->outputFanWithPoint(gridV, leftU, rightU, topVertex, pStream);
307 grid->get_u_value(leftU),
317 grid,
482 if(up_leftCornerWhere == 1 && up_rightCornerWhere == 1) //the top is topVertex with possible grid points
771 static void sampleCompTopSimpleOpt(gridWrap* grid,
786 if(grid->get_v_value(gridV+1) >= topVertex[1])
795 Real currentV = grid->get_v_value(gridV+1);
845 sampleCompTopSimpleOpt(grid,
886 sampleCompTopSimpleOpt(grid, gridV+1,
895 sampleCompTopSimpleOpt(grid,
925 //creat an array to store the points on the grid line
926 gridWrap* grid = leftGridChain->getGrid();
936 gridPoints[k][0] = grid->get_u_value(i);
937 gridPoints[k][1] = grid->get_v_value(gridV);
997 sampleCompTopSimpleOpt(grid, gridV,
1017 sampleCompTopSimpleOpt(grid, gridV,