PGROUTING  3.2
alphaShape_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 FILE: alphaShape_driver.h
3 
4 Copyright (c) 2018 Vicky Vergara
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 #ifndef INCLUDE_DRIVERS_ALPHA_SHAPE_ALPHASHAPE_DRIVER_H_
26 #define INCLUDE_DRIVERS_ALPHA_SHAPE_ALPHASHAPE_DRIVER_H_
27 #pragma once
28 
29 /* for syze_t */
30 #include <stddef.h>
31 #include "c_types/pgr_edge_xy_t.h"
32 #include "c_types/geom_text_rt.h"
33 
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39  void do_alphaShape(
40  Pgr_edge_xy_t *edgesArr,
41  size_t edgesTotal,
42 
43  double alpha,
44 
45  GeomText_t **return_tuples,
46  size_t *return_count,
47  char **log_msg,
48  char **notice_msg,
49 
50  char **err_msg);
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 
57 #endif // INCLUDE_DRIVERS_ALPHA_SHAPE_ALPHASHAPE_DRIVER_H_
pgr_edge_xy_t.h
do_alphaShape
void do_alphaShape(Pgr_edge_xy_t *edgesArr, size_t edgesTotal, double alpha, GeomText_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)
Definition: alphaShape_driver.cpp:59
GeomText_t
Definition: geom_text_rt.h:30
Pgr_edge_xy_t
Definition: pgr_edge_xy_t.h:38
geom_text_rt.h