PGROUTING  3.2
bpoint.hpp
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: bpoint.hpp
3 
4 Copyright (c) 2017 Celia Virginia Vergara Castillo
6 
7 ------
8 
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 
23  ********************************************************************PGR-GNU*/
24 
27 #ifndef INCLUDE_CPP_COMMON_BPOINT_HPP_
28 #define INCLUDE_CPP_COMMON_BPOINT_HPP_
29 #pragma once
30 
31 #include <boost/geometry/geometries/point_xy.hpp>
32 
33 namespace bg = boost::geometry;
34 
35 // TODO(vicky) mogidying this file should not affect:
36 // dijkstra_driver.cpp
37 // dijkstraVia_driver.cpp
38 // floydWarshall_driver
39 // etc...
40 namespace pgrouting {
41 
42 using Bpoint = bg::model::d2::point_xy<double>;
43 
44 } // namespace pgrouting
45 
46 #endif // INCLUDE_CPP_COMMON_BPOINT_HPP_
pgrouting::Bpoint
bg::model::d2::point_xy< double > Bpoint
Definition: bline.hpp:40
pgrouting
Book keeping class for swapping orders between vehicles.
Definition: pgr_alphaShape.cpp:56