PostGIS  2.5.7dev-r@@SVN_REVISION@@
gserialized_spgist_3d.h
Go to the documentation of this file.
1 
2 #include <postgres.h>
3 #include <liblwgeom.h>
4 #include <math.h>
5 
6 #include <access/spgist.h>
7 #include <access/stratnum.h>
8 #include <catalog/namespace.h>
9 #include <catalog/pg_type.h>
10 #include <utils/builtins.h>
11 #include <utils/geo_decls.h>
12 
13 /*****************************************************************************
14  * Operator strategy numbers used in the GiST and SP-GiST box3d opclasses
15  *****************************************************************************/
16 
17 #define SPGLeftStrategyNumber 1 /* for << */
18 #define SPGOverLeftStrategyNumber 2 /* for &< */
19 #define SPGOverlapStrategyNumber 3 /* for && */
20 #define SPGOverRightStrategyNumber 4 /* for &> */
21 #define SPGRightStrategyNumber 5 /* for >> */
22 #define SPGSameStrategyNumber 6 /* for ~= */
23 #define SPGContainsStrategyNumber 7 /* for @> */
24 #define SPGContainedByStrategyNumber 8 /* for <@ */
25 #define SPGOverBelowStrategyNumber 9 /* for &<| */
26 #define SPGBelowStrategyNumber 10 /* for <<| */
27 #define SPGAboveStrategyNumber 11 /* for |>> */
28 #define SPGOverAboveStrategyNumber 12 /* for |&> */
29 #define SPGOldContainsStrategyNumber 13 /* for old spelling of @> */
30 #define SPGOldContainedByStrategyNumber 14 /* for old spelling of <@ */
31 #define SPGKNNSearchStrategyNumber 15 /* for <-> (distance) */
32 #define SPGContainsElemStrategyNumber 16 /* for range types @> elem */
33 #define SPGAdjacentStrategyNumber 17 /* for -|- */
34 #define SPGEqualStrategyNumber 18 /* for = */
35 #define SPGNotEqualStrategyNumber 19 /* for != */
36 #define SPGLessStrategyNumber 20 /* for < */
37 #define SPGLessEqualStrategyNumber 21 /* for <= */
38 #define SPGGreaterStrategyNumber 22 /* for > */
39 #define SPGGreaterEqualStrategyNumber 23 /* for >= */
40 #define SPGSubStrategyNumber 24 /* for inet >> */
41 #define SPGSubEqualStrategyNumber 25 /* for inet <<= */
42 #define SPGSuperStrategyNumber 26 /* for inet << */
43 #define SPGSuperEqualStrategyNumber 27 /* for inet >>= */
44 #define SPGOverFrontStrategyNumber 28 /* for &</ */
45 #define SPGFrontStrategyNumber 29 /* for <</ */
46 #define SPGBackStrategyNumber 30 /* for />> */
47 #define SPGOverBackStrategyNumber 31 /* for /&> */
This library is the generic geometry handling section of PostGIS.