GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
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
}
C
#define C
Definition:
intr_char.c:17
I_init_signatures
int I_init_signatures(struct Signature *S, int nbands)
Definition:
sig.c:4
I_cluster_clear
int I_cluster_clear(struct Cluster *C)
Definition:
c_clear.c:2
NULL
return NULL
Definition:
dbfopen.c:1394
lib
cluster
c_clear.c
Generated on Sat Jan 2 2016 01:46:47 for GRASS Programmer's Manual by
1.8.5