PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
many_to_many_withPoints_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: many_to_many_withPoints_driver.h
3 
4 Copyright (c) 2015 pgRouting developers
5 Mail: project@pgrouting.org
6 
7 Function's developer:
8 Copyright (c) 2015 Celia Virginia Vergara Castillo
9 Mail:
10 
11 ------
12 
13 This program is free software; you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation; either version 2 of the License, or
16 (at your option) any later version.
17 
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
22 
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 
27 ********************************************************************PGR-GNU*/
28 
29 #ifndef SRC_WITHPOINTS_SRC_MANY_TO_MANY_WITHPOINTS_DRIVER_H_
30 #define SRC_WITHPOINTS_SRC_MANY_TO_MANY_WITHPOINTS_DRIVER_H_
31 
32 #pragma once
33 
34 #include "./../../common/src/pgr_types.h"
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 // CREATE OR REPLACE FUNCTION pgr_withPoint(
41 // edges_sql TEXT,
42 // points_sql TEXT,
43 // start_pid ANYARRAY,
44 // end_pid BIGINT,
45 // directed BOOLEAN DEFAULT true,
48  size_t total_edges,
49 
50  Point_on_edge_t *points,
51  size_t total_points,
52 
53  pgr_edge_t *edges_of_points,
54  size_t total_edges_of_points,
55 
56  int64_t *start_pidsArr,
57  size_t size_start_pidsArr,
58 
59  int64_t *end_pidsArr,
60  size_t size_end_pidsArr,
61 
62 
63  char driving_side,
64  bool details,
65  bool directed,
66  bool only_cost,
67  bool normal,
68 
69  General_path_element_t **return_tuples,
70  size_t *return_count,
71  char** log_msg,
72  char** notice_msg,
73  char** err_msg);
74 
75 #ifdef __cplusplus
76 }
77 #endif
78 
79 #endif // SRC_WITHPOINTS_SRC_MANY_TO_MANY_WITHPOINTS_DRIVER_H_
edge_astar_t * edges
Definition: BDATester.cpp:46
void do_pgr_many_to_many_withPoints(pgr_edge_t *edges, size_t total_edges, Point_on_edge_t *points, size_t total_points, pgr_edge_t *edges_of_points, size_t total_edges_of_points, int64_t *start_pidsArr, size_t size_start_pidsArr, int64_t *end_pidsArr, size_t size_end_pidsArr, char driving_side, bool details, bool directed, bool only_cost, bool normal, General_path_element_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)
char * err_msg
Definition: BDATester.cpp:50