1 
2 /****************************************************************************
3  *
4  * MODULE:       v.in.lidar
5  * AUTHOR(S):    Vaclav Petras
6  * PURPOSE:      projection related functions
7  * COPYRIGHT:    (C) 2015 by the GRASS Development Team
8  *
9  *               This program is free software under the GNU General Public
10  *               License (>=v2). Read the COPYING file that comes with GRASS
11  *               for details.
12  *
13  *****************************************************************************/
14 
15 
16 #ifndef GRASS_LIDAR_TO_ATTRIBUTES_H
17 #define GRASS_LIDAR_TO_ATTRIBUTES_H
18 
19 struct field_info;
20 struct dbDriver;                /* TODO: is this correct forward declaration? */
21 
22 void create_table_for_lidar(struct Map_info *vector_map, const char *name,
23                             int layer, dbDriver ** db_driver,
24                             struct field_info **finfo, int have_time,
25                             int have_color);
26 
27 void las_point_to_attributes(struct field_info *Fi, dbDriver * driver,
28                              int cat, LASPointH LAS_point, double x,
29                              double y, double z, int have_time,
30                              int have_color);
31 
32 #endif /* GRASS_LIDAR_TO_ATTRIBUTES_H */
33