OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GeosRuntime.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019 OmniSci, 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" 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,
30  int arg2_type,
31  int8_t* arg2_coords,
32  int64_t arg2_coords_size,
33  int32_t* arg2_meta1,
34  int64_t arg2_meta1_size,
35  int32_t* arg2_meta2,
36  int64_t arg2_meta2_size,
37  int32_t arg2_ic,
38  int32_t arg2_srid,
39  int* result_type,
40  int8_t** result_coords,
41  int64_t* result_coords_size,
42  int32_t** result_meta1,
43  int64_t* result_meta1_size,
44  int32_t** result_meta2,
45  int64_t* result_meta2_size);
46 
47 extern "C" bool Geos_Wkb_double(int op,
48  int arg1_type,
49  int8_t* arg1_coords,
50  int64_t arg1_coords_size,
51  int32_t* arg1_meta1,
52  int64_t arg1_meta1_size,
53  int32_t* arg1_meta2,
54  int64_t arg1_meta2_size,
55  int32_t arg1_ic,
56  int32_t arg1_srid,
57  double arg2,
58  int* result_type,
59  int8_t** result_coords,
60  int64_t* result_coords_size,
61  int32_t** result_meta1,
62  int64_t* result_meta1_size,
63  int32_t** result_meta2,
64  int64_t* result_meta2_size);
65 
66 extern "C" bool Geos_Wkb(int op,
67  int arg_type,
68  int8_t* arg_coords,
69  int64_t arg_coords_size,
70  int32_t* arg_meta1,
71  int64_t arg_meta1_size,
72  int32_t* arg_meta2,
73  int64_t arg_meta2_size,
74  int32_t arg_ic,
75  int32_t arg_srid,
76  bool* result);
77 
78 #endif // QUERYENGINE_RUNTIMEFUNCTIONSGEOS_H
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, bool *result)
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, 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, 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)
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, 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)