GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
c_clear.c
Go to the documentation of this file.
1 #include <grass/cluster.h>
2 int I_cluster_clear(struct Cluster *C)
3 {
4  C->points = NULL;
5  C->band_sum = NULL;
6  C->band_sum2 = NULL;
7  C->class = NULL;
8  C->reclass = NULL;
9  C->count = NULL;
10  C->countdiff = NULL;
11  C->sum = NULL;
12  C->sumdiff = NULL;
13  C->sum2 = NULL;
14  C->mean = NULL;
15  C->nbands = 0;
16  I_init_signatures(&C->S, 0);
17 
18  return 0;
19 }
#define C
Definition: intr_char.c:17
int I_init_signatures(struct Signature *S, int nbands)
Definition: sig.c:4
int I_cluster_clear(struct Cluster *C)
Definition: c_clear.c:2
return NULL
Definition: dbfopen.c:1394