GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-847944e18e
|
Cluster library - Add point. More...
Go to the source code of this file.
Functions | |
int | I_cluster_point (struct Cluster *C, DCELL *x) |
Adds the point x to the list of data points to be "clustered". More... | |
int | I_cluster_begin_point_set (struct Cluster *C, int n) |
Begin point set. More... | |
int | I_cluster_point_part (struct Cluster *C, DCELL x, int band, int n) |
? More... | |
int | I_cluster_end_point_set (struct Cluster *C, int n) |
? More... | |
Cluster library - Add point.
(C) 2001-2009 by the GRASS Development Team
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 c_point.c.
int I_cluster_begin_point_set | ( | struct Cluster * | C, |
int | n | ||
) |
int I_cluster_end_point_set | ( | struct Cluster * | C, |
int | n | ||
) |
Adds the point x to the list of data points to be "clustered".
The dimension of x must agree with the number of bands specified in the initializing call to I_cluster_begin()
Note: if all values in x are zero, the point is rejected
Definition at line 32 of file c_point.c.
References Cluster::nbands, Rast_is_d_null_value, and x.