PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pgr_withPoints.hpp
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: 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_PGR_WITHPOINTS_HPP_
30 #define SRC_WITHPOINTS_SRC_PGR_WITHPOINTS_HPP_
31 #pragma once
32 #include <vector>
33 
34 #include "./../../common/src/pgr_types.h"
35 #include "./../../common/src/basePath_SSEC.hpp"
36 
37 int
39  std::vector< Point_on_edge_t > &points,
40  std::ostringstream &log);
41 
42 void
44  Path &path);
45 
46 void
48  Path &path,
49  const std::vector< pgr_edge_t > &point_edges);
50 
51 void
53  const std::vector< Point_on_edge_t > &points,
54  Path &path);
55 
56 
57 bool
59  std::vector< Point_on_edge_t > &points,
60  const std::vector< pgr_edge_t > &edges,
61  char driving_side,
62  std::vector< pgr_edge_t > &new_edges);
63 
64 bool
66  std::vector< Point_on_edge_t > &points,
67  const std::vector< pgr_edge_t > &edges,
68  char driving_side,
69  std::vector< pgr_edge_t > &new_edges,
70  std::ostringstream &log);
71 
72 #endif // SRC_WITHPOINTS_SRC_PGR_WITHPOINTS_HPP_
int check_points(std::vector< Point_on_edge_t > &points, std::ostringstream &log)
void eliminate_details_dd(Path &path)
void eliminate_details(Path &path, const std::vector< pgr_edge_t > &point_edges)
edge_astar_t * edges
Definition: BDATester.cpp:46
void adjust_pids(const std::vector< Point_on_edge_t > &points, Path &path)
path_element_t * path
Definition: BDATester.cpp:49
bool create_new_edges(std::vector< Point_on_edge_t > &points, const std::vector< pgr_edge_t > &edges, char driving_side, std::vector< pgr_edge_t > &new_edges)