|
PostgreSQL Source Code git master
|
#include "postgres.h"#include <math.h>#include "access/spgist_private.h"#include "utils/float.h"#include "utils/fmgrprotos.h"#include "utils/geo_decls.h"
Go to the source code of this file.
Macros | |
| #define | point_point_distance(p1, p2) |
Functions | |
| static double | point_box_distance (Point *point, BOX *box) |
| double * | spg_key_orderbys_distances (Datum key, bool isLeaf, ScanKey orderbys, int norderbys) |
| BOX * | box_copy (BOX *orig) |
Definition at line 25 of file spgproc.c.
Definition at line 82 of file spgproc.c.
References fb(), and palloc_object.
Referenced by spg_kd_inner_consistent(), and spg_quad_inner_consistent().
Definition at line 31 of file spgproc.c.
References fb(), and get_float8_nan().
Referenced by spg_key_orderbys_distances().
Definition at line 63 of file spgproc.c.
References DatumGetBoxP(), DatumGetPointP(), fb(), palloc_array, point_box_distance(), point_point_distance, and ScanKeyData::sk_argument.
Referenced by spg_box_quad_leaf_consistent(), spg_kd_inner_consistent(), spg_quad_inner_consistent(), and spg_quad_leaf_consistent().