Lines Matching defs:iDim
203337 ** in aIdx according to dimension iDim of the cells in aCell. The
203338 ** minimum value of dimension iDim is considered first, the
203348 int iDim,
203362 SortByDimension(pRtree, aLeft, nLeft, iDim, aCell, aSpare);
203363 SortByDimension(pRtree, aRight, nRight, iDim, aCell, aSpare);
203368 RtreeDValue xleft1 = DCOORD(aCell[aLeft[iLeft]].aCoord[iDim*2]);
203369 RtreeDValue xleft2 = DCOORD(aCell[aLeft[iLeft]].aCoord[iDim*2+1]);
203370 RtreeDValue xright1 = DCOORD(aCell[aRight[iRight]].aCoord[iDim*2]);
203371 RtreeDValue xright2 = DCOORD(aCell[aRight[iRight]].aCoord[iDim*2+1]);
203389 RtreeDValue xleft1 = aCell[aIdx[jj-1]].aCoord[iDim*2];
203390 RtreeDValue xleft2 = aCell[aIdx[jj-1]].aCoord[iDim*2+1];
203391 RtreeDValue xright1 = aCell[aIdx[jj]].aCoord[iDim*2];
203392 RtreeDValue xright2 = aCell[aIdx[jj]].aCoord[iDim*2+1];
203828 int iDim;
203861 for(iDim=0; iDim<pRtree->nDim; iDim++){
203862 aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2]);
203863 aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2+1]);
203866 for(iDim=0; iDim<pRtree->nDim; iDim++){
203867 aCenterCoord[iDim] = (aCenterCoord[iDim]/(nCell*(RtreeDValue)2));
203872 for(iDim=0; iDim<pRtree->nDim; iDim++){
203873 RtreeDValue coord = (DCOORD(aCell[ii].aCoord[iDim*2+1]) -
203874 DCOORD(aCell[ii].aCoord[iDim*2]));
203875 aDistance[ii] += (coord-aCenterCoord[iDim])*(coord-aCenterCoord[iDim]);