/**************************************************//**
@file gis0geo.h
The r-tree define from MyISAM
*******************************************************/
#ifndef _gis0geo_h #define _gis0geo_h
#include"my_global.h" #include"string.h"
#define SPTYPE HA_KEYTYPE_DOUBLE #define SPLEN 8
/* Since the mbr could be a point or a linestring, in this case, area of mbris0.So,wedefinethismacroforcalculatingtheareaincreasing
when we need to enlarge the mbr. */ #define LINE_MBR_WEIGHTS 0.001
/*************************************************************//**
Split rtree nodes. Return which group the first rec is in. */ int
split_rtree_node( /*=============*/
rtr_split_node_t* node, /*!< in: split nodes.*/ int n_entries, /*!< in: entries number.*/ int all_size, /*!< in: total key's size.*/ int key_size, /*!< in: key's size.*/ int min_size, /*!< in: minimal group size.*/ int size1, /*!< in: size of group.*/ int size2, /*!< in: initial group sizes */ double** d_buffer, /*!< in/out: buffer.*/ int n_dim, /*!< in: dimensions. */
uchar* first_rec); /*!< in: the first rec. */
/** Compare two minimum bounding rectangles. @parammodecomparisonoperator MBR_INTERSECT(a,b)aoverlapsb MBR_CONTAIN(a,b)acontainsb MBR_DISJOINT(a,b)adisjointb MBR_WITHIN(a,b)awithinb MBR_EQUAL(a,b)AllcoordinatesofMBRsareequal MBR_DATA(a,b)Datareferenceisthesame @parambfirstMBR @paramasecondMBR @retval0ifthepredicateholds
@retval 1 if the precidate does not hold */ int rtree_key_cmp(page_cur_mode_t mode, constvoid *b, constvoid *a); #endif
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.