Lines Matching refs:aCoord
9923 sqlite3_rtree_dbl *aCoord; /* Coordinates of node or entry to check */
167375 RtreeCoord aCoord[RTREE_MAX_DIMENSIONS*2]; /* Bounding box coordinates */
167785 p += writeCoord(p, &pCell->aCoord[ii]);
167921 pCoord = pCell->aCoord;
168158 sqlite3_rtree_dbl aCoord[RTREE_MAX_DIMENSIONS*2]; /* Decoded coordinates */
168170 case 10: readCoord(pCellData+36, &c); aCoord[9] = c.f;
168171 readCoord(pCellData+32, &c); aCoord[8] = c.f;
168172 case 8: readCoord(pCellData+28, &c); aCoord[7] = c.f;
168173 readCoord(pCellData+24, &c); aCoord[6] = c.f;
168174 case 6: readCoord(pCellData+20, &c); aCoord[5] = c.f;
168175 readCoord(pCellData+16, &c); aCoord[4] = c.f;
168176 case 4: readCoord(pCellData+12, &c); aCoord[3] = c.f;
168177 readCoord(pCellData+8, &c); aCoord[2] = c.f;
168178 default: readCoord(pCellData+4, &c); aCoord[1] = c.f;
168179 readCoord(pCellData, &c); aCoord[0] = c.f;
168185 case 10: readCoord(pCellData+36, &c); aCoord[9] = c.i;
168186 readCoord(pCellData+32, &c); aCoord[8] = c.i;
168187 case 8: readCoord(pCellData+28, &c); aCoord[7] = c.i;
168188 readCoord(pCellData+24, &c); aCoord[6] = c.i;
168189 case 6: readCoord(pCellData+20, &c); aCoord[5] = c.i;
168190 readCoord(pCellData+16, &c); aCoord[4] = c.i;
168191 case 4: readCoord(pCellData+12, &c); aCoord[3] = c.i;
168192 readCoord(pCellData+8, &c); aCoord[2] = c.i;
168193 default: readCoord(pCellData+4, &c); aCoord[1] = c.i;
168194 readCoord(pCellData, &c); aCoord[0] = c.i;
168200 nCoord, aCoord, &eWithin);
168204 pInfo->aCoord = aCoord;
168957 case 5: area = p->aCoord[9].f - p->aCoord[8].f;
168958 case 4: area *= p->aCoord[7].f - p->aCoord[6].f;
168959 case 3: area *= p->aCoord[5].f - p->aCoord[4].f;
168960 case 2: area *= p->aCoord[3].f - p->aCoord[2].f;
168961 default: area *= p->aCoord[1].f - p->aCoord[0].f;
168967 case 5: area = p->aCoord[9].i - p->aCoord[8].i;
168968 case 4: area *= p->aCoord[7].i - p->aCoord[6].i;
168969 case 3: area *= p->aCoord[5].i - p->aCoord[4].i;
168970 case 2: area *= p->aCoord[3].i - p->aCoord[2].i;
168971 default: area *= p->aCoord[1].i - p->aCoord[0].i;
168985 margin += (DCOORD(p->aCoord[ii+1]) - DCOORD(p->aCoord[ii]));
168998 p1->aCoord[ii].f = MIN(p1->aCoord[ii].f, p2->aCoord[ii].f);
168999 p1->aCoord[ii+1].f = MAX(p1->aCoord[ii+1].f, p2->aCoord[ii+1].f);
169004 p1->aCoord[ii].i = MIN(p1->aCoord[ii].i, p2->aCoord[ii].i);
169005 p1->aCoord[ii+1].i = MAX(p1->aCoord[ii+1].i, p2->aCoord[ii+1].i);
169019 RtreeCoord *a1 = &p1->aCoord[ii];
169020 RtreeCoord *a2 = &p2->aCoord[ii];
169055 x1 = MAX(DCOORD(p->aCoord[jj]), DCOORD(aCell[ii].aCoord[jj]));
169056 x2 = MIN(DCOORD(p->aCoord[jj+1]), DCOORD(aCell[ii].aCoord[jj+1]));
169290 RtreeDValue xleft1 = DCOORD(aCell[aLeft[iLeft]].aCoord[iDim*2]);
169291 RtreeDValue xleft2 = DCOORD(aCell[aLeft[iLeft]].aCoord[iDim*2+1]);
169292 RtreeDValue xright1 = DCOORD(aCell[aRight[iRight]].aCoord[iDim*2]);
169293 RtreeDValue xright2 = DCOORD(aCell[aRight[iRight]].aCoord[iDim*2+1]);
169311 RtreeDValue xleft1 = aCell[aIdx[jj-1]].aCoord[iDim*2];
169312 RtreeDValue xleft2 = aCell[aIdx[jj-1]].aCoord[iDim*2+1];
169313 RtreeDValue xright1 = aCell[aIdx[jj]].aCoord[iDim*2];
169314 RtreeDValue xright2 = aCell[aIdx[jj]].aCoord[iDim*2+1];
169774 aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2]);
169775 aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2+1]);
169785 RtreeDValue coord = (DCOORD(aCell[ii].aCoord[iDim*2+1]) -
169786 DCOORD(aCell[ii].aCoord[iDim*2]));
170101 /* Populate the cell.aCoord[] array. The first coordinate is azData[3].
170114 cell.aCoord[ii].f = rtreeValueDown(azData[ii+3]);
170115 cell.aCoord[ii+1].f = rtreeValueUp(azData[ii+4]);
170116 if( cell.aCoord[ii].f>cell.aCoord[ii+1].f ){
170125 cell.aCoord[ii].i = sqlite3_value_int(azData[ii+3]);
170126 cell.aCoord[ii+1].i = sqlite3_value_int(azData[ii+4]);
170127 if( cell.aCoord[ii].i>cell.aCoord[ii+1].i ){
170628 (double)cell.aCoord[jj].f);
170631 cell.aCoord[jj].i);