pgRouting
2.2
pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Pages
alpha.h
1
/*PGR-GNU*****************************************************************
2
FILE: alpha.h
3
4
Copyright (c) 2006 Anton A. Patrushev, Orkney, Inc.
5
Mail: project@pgrouting.org
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
25
#define _ALPHA_H
26
27
#ifdef __MINGW64__
28
#define ELOG_H
29
#endif
30
#include "postgres.h"
31
#include "../../common/src/pgr_types.h"
32
33
typedef
struct
vertex
34
{
35
float8 x;
36
float8 y;
37
}
vertex_t
;
38
39
40
#ifdef __cplusplus
41
extern
"C"
42
{
43
#endif
44
45
int
alpha_shape(
vertex_t
*vertices,
size_t
count,
double
alpha,
46
vertex_t
**res,
size_t
*res_count,
char
**err_msg);
47
48
#ifdef __cplusplus
49
}
50
#endif
51
52
vertex
Definition:
alpha.h:33
src
alpha_shape
src
alpha.h
Generated on Tue Apr 5 2016 13:14:46 for pgRouting by
1.8.6