GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
find_rast3d.c
Go to the documentation of this file.
1 /*!
2  \file lib/gis/find_rast3d.c
3 
4  \brief GIS library - Find a 3D raster map
5 
6  (C) 2001-2009, 2011 by the GRASS Development Team
7 
8 ` This program is free software under the GNU General Public License
9  (>=v2). Read the file COPYING that comes with GRASS for details.
10 
11  \author Original author CERL
12 */
13 
14 #include <grass/gis.h>
15 
16 /*!
17  \brief Search for a 3D raster map in current search path or
18  in a specified mapset.
19 
20  Note: rejects all names that begin with '.'
21 
22  \param name map name
23  \param mapset mapset to search. ("" for search path)
24 
25  \return pointer to a string with name of mapset where the map was found
26  \return NULL if not found
27 */
28 const char *G_find_raster3d(const char *name, const char *mapset)
29 {
30  return G_find_file2_misc("grid3", "cell", name, mapset);
31 }
const char * G_find_raster3d(const char *name, const char *mapset)
Search for a 3D raster map in current search path or in a specified mapset.
Definition: find_rast3d.c:28
const char * G_find_file2_misc(const char *, const char *, const char *, const char *)
Searches for a file from the mapset search list or in a specified mapset. (look but don&#39;t touch) ...
Definition: find_file.c:267
const char * name
Definition: named_colr.c:7