Lines Matching defs:aCoord

11253   sqlite3_rtree_dbl *aCoord;        /* Coordinates of node or entry to check */
210694 RtreeCoord aCoord[RTREE_MAX_DIMENSIONS*2]; /* Bounding box coordinates */
211139 p += writeCoord(p, &pCell->aCoord[ii]);
211279 pCoord = pCell->aCoord;
211529 sqlite3_rtree_dbl aCoord[RTREE_MAX_DIMENSIONS*2]; /* Decoded coordinates */
211541 case 10: readCoord(pCellData+36, &c); aCoord[9] = c.f;
211542 readCoord(pCellData+32, &c); aCoord[8] = c.f;
211543 case 8: readCoord(pCellData+28, &c); aCoord[7] = c.f;
211544 readCoord(pCellData+24, &c); aCoord[6] = c.f;
211545 case 6: readCoord(pCellData+20, &c); aCoord[5] = c.f;
211546 readCoord(pCellData+16, &c); aCoord[4] = c.f;
211547 case 4: readCoord(pCellData+12, &c); aCoord[3] = c.f;
211548 readCoord(pCellData+8, &c); aCoord[2] = c.f;
211549 default: readCoord(pCellData+4, &c); aCoord[1] = c.f;
211550 readCoord(pCellData, &c); aCoord[0] = c.f;
211556 case 10: readCoord(pCellData+36, &c); aCoord[9] = c.i;
211557 readCoord(pCellData+32, &c); aCoord[8] = c.i;
211558 case 8: readCoord(pCellData+28, &c); aCoord[7] = c.i;
211559 readCoord(pCellData+24, &c); aCoord[6] = c.i;
211560 case 6: readCoord(pCellData+20, &c); aCoord[5] = c.i;
211561 readCoord(pCellData+16, &c); aCoord[4] = c.i;
211562 case 4: readCoord(pCellData+12, &c); aCoord[3] = c.i;
211563 readCoord(pCellData+8, &c); aCoord[2] = c.i;
211564 default: readCoord(pCellData+4, &c); aCoord[1] = c.i;
211565 readCoord(pCellData, &c); aCoord[0] = c.i;
211571 nCoord, aCoord, &eWithin);
211575 pInfo->aCoord = aCoord;
212429 case 5: area = p->aCoord[9].f - p->aCoord[8].f;
212430 case 4: area *= p->aCoord[7].f - p->aCoord[6].f;
212431 case 3: area *= p->aCoord[5].f - p->aCoord[4].f;
212432 case 2: area *= p->aCoord[3].f - p->aCoord[2].f;
212433 default: area *= p->aCoord[1].f - p->aCoord[0].f;
212439 case 5: area = (i64)p->aCoord[9].i - (i64)p->aCoord[8].i;
212440 case 4: area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i;
212441 case 3: area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i;
212442 case 2: area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i;
212443 default: area *= (i64)p->aCoord[1].i - (i64)p->aCoord[0].i;
212457 margin += (DCOORD(p->aCoord[ii+1]) - DCOORD(p->aCoord[ii]));
212470 p1->aCoord[ii].f = MIN(p1->aCoord[ii].f, p2->aCoord[ii].f);
212471 p1->aCoord[ii+1].f = MAX(p1->aCoord[ii+1].f, p2->aCoord[ii+1].f);
212476 p1->aCoord[ii].i = MIN(p1->aCoord[ii].i, p2->aCoord[ii].i);
212477 p1->aCoord[ii+1].i = MAX(p1->aCoord[ii+1].i, p2->aCoord[ii+1].i);
212491 RtreeCoord *a1 = &p1->aCoord[ii];
212492 RtreeCoord *a2 = &p2->aCoord[ii];
212497 RtreeCoord *a1 = &p1->aCoord[ii];
212498 RtreeCoord *a2 = &p2->aCoord[ii];
212518 x1 = MAX(DCOORD(p->aCoord[jj]), DCOORD(aCell[ii].aCoord[jj]));
212519 x2 = MIN(DCOORD(p->aCoord[jj+1]), DCOORD(aCell[ii].aCoord[jj+1]));
212705 RtreeDValue xleft1 = DCOORD(aCell[aLeft[iLeft]].aCoord[iDim*2]);
212706 RtreeDValue xleft2 = DCOORD(aCell[aLeft[iLeft]].aCoord[iDim*2+1]);
212707 RtreeDValue xright1 = DCOORD(aCell[aRight[iRight]].aCoord[iDim*2]);
212708 RtreeDValue xright2 = DCOORD(aCell[aRight[iRight]].aCoord[iDim*2+1]);
212726 RtreeDValue xleft1 = aCell[aIdx[jj-1]].aCoord[iDim*2];
212727 RtreeDValue xleft2 = aCell[aIdx[jj-1]].aCoord[iDim*2+1];
212728 RtreeDValue xright1 = aCell[aIdx[jj]].aCoord[iDim*2];
212729 RtreeDValue xright2 = aCell[aIdx[jj]].aCoord[iDim*2+1];
213433 /* Populate the cell.aCoord[] array. The first coordinate is aData[3].
213445 cell.aCoord[ii].f = rtreeValueDown(aData[ii+3]);
213446 cell.aCoord[ii+1].f = rtreeValueUp(aData[ii+4]);
213447 if( cell.aCoord[ii].f>cell.aCoord[ii+1].f ){
213456 cell.aCoord[ii].i = sqlite3_value_int(aData[ii+3]);
213457 cell.aCoord[ii+1].i = sqlite3_value_int(aData[ii+4]);
213458 if( cell.aCoord[ii].i>cell.aCoord[ii+1].i ){
214083 sqlite3_str_appendf(pOut, " %g", (double)cell.aCoord[jj].f);
214085 sqlite3_str_appendf(pOut, " %d", cell.aCoord[jj].i);
215226 ** (1) if aCoord!=0 store the bounding box in aCoord, returning NULL
215230 ** If pPoly is NULL but aCoord is not NULL, then compute a new GeoPoly from
215231 ** the bounding box in aCoord and return a pointer to that GeoPoly.
215236 RtreeCoord *aCoord, /* Results here */
215242 if( pPoly==0 && aCoord!=0 ){
215244 mnX = aCoord[0].f;
215245 mxX = aCoord[1].f;
215246 mnY = aCoord[2].f;
215247 mxY = aCoord[3].f;
215265 if( aCoord==0 ){
215290 aCoord[0].f = mnX;
215291 aCoord[1].f = mxX;
215292 aCoord[2].f = mnY;
215293 aCoord[3].f = mxY;
215295 }else if( aCoord ){
215296 memset(aCoord, 0, sizeof(RtreeCoord)*4);
216240 geopolyBBox(0, aData[2], cell.aCoord, &rc);