GRASS 8 Programmer's Manual
8.6.0dev(2026)-1878fdfec5
Loading...
Searching...
No Matches
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
SPDX-FileCopyrightText: 2001-2009, 2011 GRASS Development Team
7
SPDX-License-Identifier: GPL-2.0-or-later
8
9
\author Original author CERL
10
*/
11
12
#include <
grass/gis.h
>
13
14
/*!
15
\brief Search for a 3D raster map in current search path or
16
in a specified mapset.
17
18
Note: rejects all names that begin with '.'
19
20
\param name map name
21
\param mapset mapset to search. ("" for search path)
22
23
\return pointer to a string with name of mapset where the map was found
24
\return NULL if not found
25
*/
26
const
char
*
G_find_raster3d
(
const
char
*
name
,
const
char
*mapset)
27
{
28
return
G_find_file2_misc
(
"grid3"
,
"cell"
,
name
, mapset);
29
}
G_find_file2_misc
const char * G_find_file2_misc(const char *, const char *, const char *, const char *)
Searches for a misc file from the mapset search list or in a specified mapset. (look but don't touch)
Definition
find_file.c:253
G_find_raster3d
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:26
gis.h
name
const char * name
Definition
named_colr.c:6
lib
gis
find_rast3d.c
Generated on Wed Sep 9 2026 06:57:42 for GRASS 8 Programmer's Manual by
1.9.8