|
GRASS GIS 8 Programmer's Manual
8.4.2dev(2025)-5620950973
|
Segment setup routines. More...
#include <stdlib.h>#include <stdio.h>#include <math.h>#include <grass/gis.h>#include "local_proto.h"
Go to the source code of this file.
Functions | |
| int | seg_setup (SEGMENT *SEG) |
| Internal use only. More... | |
Segment setup routines.
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file segment/setup.c.
| int seg_setup | ( | SEGMENT * | SEG | ) |
Internal use only.
Setup segment.
SEG must have the following parms set: fd (open for read and write), nrows, ncols, srows, scols, len, nseg
| [in,out] | SEG | segment |
Definition at line 34 of file segment/setup.c.
References G_debug(), G_warning(), NULL, seg_address_fast(), seg_address_slow(), seg_seek_fast(), and seg_seek_slow().