find_rast3d.c 793 B

1234567891011121314151617181920212223242526272829303132
  1. /*!
  2. \file lib/gis/find_rast3d.c
  3. \brief GIS library - Find a 3D raster map
  4. (C) 2001-2009, 2011 by the GRASS Development Team
  5. ` This program is free software under the GNU General Public License
  6. (>=v2). Read the file COPYING that comes with GRASS for details.
  7. \author Original author CERL
  8. */
  9. #include <grass/gis.h>
  10. /*!
  11. \brief Search for a 3D raster map in current search path or
  12. in a specified mapset.
  13. Note: rejects all names that begin with '.'
  14. \param name map name
  15. \param mapset mapset to search. ("" for search path)
  16. \return pointer to a string with name of mapset where the map was found
  17. \return NULL if not found
  18. */
  19. const char *G_find_raster3d(const char *name, const char *mapset)
  20. {
  21. return G_find_file2_misc("grid3", "cell", name, mapset);
  22. }