OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GeosRuntime.h
Go to the documentation of this file.
1 /*
2  * Copyright 2022 HEAVY.AI, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef QUERYENGINE_RUNTIMEFUNCTIONSGEOS_H
18 #define QUERYENGINE_RUNTIMEFUNCTIONSGEOS_H
19 
20 extern "C" RUNTIME_EXPORT bool Geos_Wkb_Wkb(int op,
21  int arg1_type,
22  int8_t* arg1_coords,
23  int64_t arg1_coords_size,
24  int32_t* arg1_meta1,
25  int64_t arg1_meta1_size,
26  int32_t* arg1_meta2,
27  int64_t arg1_meta2_size,
28  int32_t arg1_ic,
29  int32_t arg1_srid_in,
30  int32_t arg1_srid_out,
31  int arg2_type,
32  int8_t* arg2_coords,
33  int64_t arg2_coords_size,
34  int32_t* arg2_meta1,
35  int64_t arg2_meta1_size,
36  int32_t* arg2_meta2,
37  int64_t arg2_meta2_size,
38  int32_t arg2_ic,
39  int32_t arg2_srid_in,
40  int32_t arg2_srid_out,
41  int* result_type,
42  int8_t** result_coords,
43  int64_t* result_coords_size,
44  int32_t** result_meta1,
45  int64_t* result_meta1_size,
46  int32_t** result_meta2,
47  int64_t* result_meta2_size,
48  int32_t result_srid_out);
49 
50 extern "C" RUNTIME_EXPORT bool Geos_Wkb_Wkb_Predicate(int op,
51  int arg1_type,
52  int8_t* arg1_coords,
53  int64_t arg1_coords_size,
54  int32_t* arg1_meta1,
55  int64_t arg1_meta1_size,
56  int32_t* arg1_meta2,
57  int64_t arg1_meta2_size,
58  int32_t arg1_ic,
59  int32_t arg1_srid_in,
60  int32_t arg1_srid_out,
61  int arg2_type,
62  int8_t* arg2_coords,
63  int64_t arg2_coords_size,
64  int32_t* arg2_meta1,
65  int64_t arg2_meta1_size,
66  int32_t* arg2_meta2,
67  int64_t arg2_meta2_size,
68  int32_t arg2_ic,
69  int32_t arg2_srid_in,
70  int32_t arg2_srid_out,
71  bool* result);
72 
73 extern "C" RUNTIME_EXPORT bool Geos_Wkb_double(int op,
74  int arg1_type,
75  int8_t* arg1_coords,
76  int64_t arg1_coords_size,
77  int32_t* arg1_meta1,
78  int64_t arg1_meta1_size,
79  int32_t* arg1_meta2,
80  int64_t arg1_meta2_size,
81  int32_t arg1_ic,
82  int32_t arg1_srid_in,
83  int32_t arg1_srid_out,
84  double arg2,
85  int* result_type,
86  int8_t** result_coords,
87  int64_t* result_coords_size,
88  int32_t** result_meta1,
89  int64_t* result_meta1_size,
90  int32_t** result_meta2,
91  int64_t* result_meta2_size,
92  int32_t result_srid_out);
93 
94 extern "C" RUNTIME_EXPORT bool Geos_Wkb(int op,
95  int arg_type,
96  int8_t* arg_coords,
97  int64_t arg_coords_size,
98  int32_t* arg_meta1,
99  int64_t arg_meta1_size,
100  int32_t* arg_meta2,
101  int64_t arg_meta2_size,
102  int32_t arg_ic,
103  int32_t arg_srid_in,
104  int32_t arg_srid_out,
105  bool* result);
106 
107 #endif // QUERYENGINE_RUNTIMEFUNCTIONSGEOS_H
RUNTIME_EXPORT bool Geos_Wkb_double(int op, int arg1_type, int8_t *arg1_coords, int64_t arg1_coords_size, int32_t *arg1_meta1, int64_t arg1_meta1_size, int32_t *arg1_meta2, int64_t arg1_meta2_size, int32_t arg1_ic, int32_t arg1_srid_in, int32_t arg1_srid_out, double arg2, int *result_type, int8_t **result_coords, int64_t *result_coords_size, int32_t **result_meta1, int64_t *result_meta1_size, int32_t **result_meta2, int64_t *result_meta2_size, int32_t result_srid_out)
RUNTIME_EXPORT bool Geos_Wkb_Wkb(int op, int arg1_type, int8_t *arg1_coords, int64_t arg1_coords_size, int32_t *arg1_meta1, int64_t arg1_meta1_size, int32_t *arg1_meta2, int64_t arg1_meta2_size, int32_t arg1_ic, int32_t arg1_srid_in, int32_t arg1_srid_out, int arg2_type, int8_t *arg2_coords, int64_t arg2_coords_size, int32_t *arg2_meta1, int64_t arg2_meta1_size, int32_t *arg2_meta2, int64_t arg2_meta2_size, int32_t arg2_ic, int32_t arg2_srid_in, int32_t arg2_srid_out, int *result_type, int8_t **result_coords, int64_t *result_coords_size, int32_t **result_meta1, int64_t *result_meta1_size, int32_t **result_meta2, int64_t *result_meta2_size, int32_t result_srid_out)
#define RUNTIME_EXPORT
RUNTIME_EXPORT bool Geos_Wkb(int op, int arg_type, int8_t *arg_coords, int64_t arg_coords_size, int32_t *arg_meta1, int64_t arg_meta1_size, int32_t *arg_meta2, int64_t arg_meta2_size, int32_t arg_ic, int32_t arg_srid_in, int32_t arg_srid_out, bool *result)
RUNTIME_EXPORT bool Geos_Wkb_Wkb_Predicate(int op, int arg1_type, int8_t *arg1_coords, int64_t arg1_coords_size, int32_t *arg1_meta1, int64_t arg1_meta1_size, int32_t *arg1_meta2, int64_t arg1_meta2_size, int32_t arg1_ic, int32_t arg1_srid_in, int32_t arg1_srid_out, int arg2_type, int8_t *arg2_coords, int64_t arg2_coords_size, int32_t *arg2_meta1, int64_t arg2_meta1_size, int32_t *arg2_meta2, int64_t arg2_meta2_size, int32_t arg2_ic, int32_t arg2_srid_in, int32_t arg2_srid_out, bool *result)