Lines Matching refs:grid
46 /*******************grid structure****************************/
148 if(vert[1] > v_values[v]) //vertex is above this grid line: notice the orientation
153 else //vertex is below the grid line
165 *V-lines within a grid.
166 *There is one grid vertex on each V-line.
169 * with respect to the grid, the index of the first V-line is
171 * So with respect to the grid, the index of the ith V-line is
173 * the grid-index of the uline at the ith vline (recall that each vline has one grid point)
175 * ulineValues[i] = grid->get_u_value(ulineIndices[i])
184 : grid(gr), firstVlineIndex(first_vline_index), nVlines(n_vlines)
226 glVertex2f(grid->get_u_value(innerIndices[i]), get_v_value(i-1) );
227 glVertex2f(grid->get_u_value(innerIndices[i]), get_v_value(i) );
248 /*output the fan of the right end between grid line i-1 and grid line i*/
257 pStream->insert(grid->get_u_value(j), get_v_value(i));
265 pStream->insert(grid->get_u_value(j), get_v_value(i-1));
272 /*output the fan of the left end between grid line i-1 and grid line i*/
281 pStream->insert(grid->get_u_value(j), get_v_value(i));
289 pStream->insert(grid->get_u_value(j), get_v_value(i-1));