[GRASS-dev] creating sub-regions in C

Dear list

I am trying to create a module for GRASS, but I'm not a good
programmer. How can I create new regions inside a C program? I want to
divide the area into sub-regions for analysis.

thanks

--
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
Linux User #89721 - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke

"Carlos \"Guâno\" Grohmann" wrote:

I am trying to create a module for GRASS, but I'm not a good
programmer. How can I create new regions inside a C program? I want to
divide the area into sub-regions for analysis.

G_set_window() changes the current region used by libgis I/O
functions. You need to fill in the "struct Cell_head" manually.

--
Glynn Clements <glynn@gclements.plus.com>