PGROUTING
3.2
pgr_edge_xy_t.h
Go to the documentation of this file.
1
/*PGR-GNU*****************************************************************
2
File: pgr_edge_xy_t.h
3
4
Copyright (c) 2017 Celia Virginia Vergara Castillo
5
Mail:
[email protected]
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*/
26
#ifndef INCLUDE_C_TYPES_PGR_EDGE_XY_T_H_
27
#define INCLUDE_C_TYPES_PGR_EDGE_XY_T_H_
28
#pragma once
29
30
/* for int64_t */
31
#ifdef __cplusplus
32
# include <cstdint>
33
#else
34
# include <stdint.h>
35
#endif
36
37
38
typedef
struct
{
39
int64_t
id
;
40
int64_t
source
;
41
int64_t
target
;
42
double
cost
;
43
double
reverse_cost
;
44
double
x1
;
45
double
y1
;
46
double
x2
;
47
double
y2
;
48
}
Pgr_edge_xy_t
;
49
50
#endif // INCLUDE_C_TYPES_PGR_EDGE_XY_T_H_
Pgr_edge_xy_t::target
int64_t target
Definition:
pgr_edge_xy_t.h:41
Pgr_edge_xy_t::source
int64_t source
Definition:
pgr_edge_xy_t.h:40
Pgr_edge_xy_t::y1
double y1
Definition:
pgr_edge_xy_t.h:45
Pgr_edge_xy_t::y2
double y2
Definition:
pgr_edge_xy_t.h:47
Pgr_edge_xy_t::cost
double cost
Definition:
pgr_edge_xy_t.h:42
Pgr_edge_xy_t::reverse_cost
double reverse_cost
Definition:
pgr_edge_xy_t.h:43
Pgr_edge_xy_t::x2
double x2
Definition:
pgr_edge_xy_t.h:46
Pgr_edge_xy_t::id
int64_t id
Definition:
pgr_edge_xy_t.h:39
Pgr_edge_xy_t
Definition:
pgr_edge_xy_t.h:38
Pgr_edge_xy_t::x1
double x1
Definition:
pgr_edge_xy_t.h:44
include
c_types
pgr_edge_xy_t.h
Generated on Tue May 25 2021 15:09:48 for PGROUTING by
1.8.17