GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
Go to the source code of this file.
Macros | |
#define | NO_DEFAULT_RULE (!r->defaultDRuleSet) |
#define | NO_LEFT_INFINITE_RULE (!r->infiniteLeftSet) |
#define | NO_RIGHT_INFINITE_RULE (!r->infiniteRightSet) |
#define | NO_FINITE_RULE (r->nofRules <= 0) |
#define | NO_EXPLICIT_RULE (NO_FINITE_RULE && NO_LEFT_INFINITE_RULE && NO_RIGHT_INFINITE_RULE) |
#define | DEFAULT_MIN ((DCELL)1) |
#define | DEFAULT_MAX ((DCELL)255) |
#define DEFAULT_MAX ((DCELL)255) |
Definition at line 253 of file fpreclass.c.
#define DEFAULT_MIN ((DCELL)1) |
Definition at line 252 of file fpreclass.c.
#define NO_DEFAULT_RULE (!r->defaultDRuleSet) |
Definition at line 245 of file fpreclass.c.
#define NO_EXPLICIT_RULE (NO_FINITE_RULE && NO_LEFT_INFINITE_RULE && NO_RIGHT_INFINITE_RULE) |
Definition at line 249 of file fpreclass.c.
#define NO_FINITE_RULE (r->nofRules <= 0) |
Definition at line 248 of file fpreclass.c.
#define NO_LEFT_INFINITE_RULE (!r->infiniteLeftSet) |
Definition at line 246 of file fpreclass.c.
#define NO_RIGHT_INFINITE_RULE (!r->infiniteRightSet) |
Definition at line 247 of file fpreclass.c.
void Rast_fpreclass_add_rule | ( | struct FPReclass * | r, |
DCELL | dLow, | ||
DCELL | dHigh, | ||
DCELL | rLow, | ||
DCELL | rHigh | ||
) |
Definition at line 451 of file fpreclass.c.
void Rast_fpreclass_clear | ( | struct FPReclass * | r | ) |
Definition at line 547 of file fpreclass.c.
Referenced by Rast_fpreclass_perform_dd(), Rast_fpreclass_perform_df(), Rast_fpreclass_perform_di(), Rast_fpreclass_perform_fd(), Rast_fpreclass_perform_ff(), Rast_fpreclass_perform_fi(), Rast_fpreclass_perform_id(), Rast_fpreclass_perform_if(), and Rast_fpreclass_perform_ii().
void Rast_fpreclass_get_ith_rule | ( | const struct FPReclass * | r, |
int | i, | ||
DCELL * | dLow, | ||
DCELL * | dHigh, | ||
DCELL * | rLow, | ||
DCELL * | rHigh | ||
) |
Definition at line 371 of file fpreclass.c.
References r.
int Rast_fpreclass_get_limits | ( | const struct FPReclass * | r, |
DCELL * | dMin, | ||
DCELL * | dMax, | ||
DCELL * | rMin, | ||
DCELL * | rMax | ||
) |
Definition at line 332 of file fpreclass.c.
References DEFAULT_MAX, DEFAULT_MIN, NO_DEFAULT_RULE, NO_EXPLICIT_RULE, and r.
Definition at line 412 of file fpreclass.c.
Definition at line 437 of file fpreclass.c.
void Rast_fpreclass_init | ( | struct FPReclass * | r | ) |
Definition at line 279 of file fpreclass.c.
References r, and Rast_fpreclass_reset().
int Rast_fpreclass_nof_rules | ( | const struct FPReclass * | r | ) |
Definition at line 364 of file fpreclass.c.
References r.
void Rast_fpreclass_perform_dd | ( | const struct FPReclass * | r, |
const DCELL * | dcell, | ||
DCELL * | cell, | ||
int | n | ||
) |
Definition at line 605 of file fpreclass.c.
References r, Rast_fpreclass_get_cell_value(), Rast_is_d_null_value, and Rast_set_d_null_value().
void Rast_fpreclass_perform_df | ( | const struct FPReclass * | r, |
const DCELL * | dcell, | ||
FCELL * | cell, | ||
int | n | ||
) |
Definition at line 591 of file fpreclass.c.
References r, Rast_fpreclass_get_cell_value(), Rast_is_d_null_value, and Rast_set_f_null_value().
void Rast_fpreclass_perform_di | ( | const struct FPReclass * | r, |
const DCELL * | dcell, | ||
CELL * | cell, | ||
int | n | ||
) |
Definition at line 577 of file fpreclass.c.
References r, Rast_fpreclass_get_cell_value(), Rast_is_d_null_value, and Rast_set_c_null_value().
void Rast_fpreclass_perform_fd | ( | const struct FPReclass * | r, |
const FCELL * | fcell, | ||
DCELL * | cell, | ||
int | n | ||
) |
Definition at line 647 of file fpreclass.c.
References r, Rast_fpreclass_get_cell_value(), Rast_is_f_null_value, and Rast_set_d_null_value().
void Rast_fpreclass_perform_ff | ( | const struct FPReclass * | r, |
const FCELL * | fcell, | ||
FCELL * | cell, | ||
int | n | ||
) |
Definition at line 633 of file fpreclass.c.
References r, Rast_fpreclass_get_cell_value(), Rast_is_f_null_value, and Rast_set_f_null_value().
void Rast_fpreclass_perform_fi | ( | const struct FPReclass * | r, |
const FCELL * | fcell, | ||
CELL * | cell, | ||
int | n | ||
) |
Definition at line 619 of file fpreclass.c.
References r, Rast_fpreclass_get_cell_value(), Rast_is_f_null_value, and Rast_set_c_null_value().
void Rast_fpreclass_perform_id | ( | const struct FPReclass * | r, |
const CELL * | icell, | ||
DCELL * | cell, | ||
int | n | ||
) |
Definition at line 689 of file fpreclass.c.
References r, Rast_fpreclass_get_cell_value(), Rast_is_c_null_value, and Rast_set_d_null_value().
void Rast_fpreclass_perform_if | ( | const struct FPReclass * | r, |
const CELL * | icell, | ||
FCELL * | cell, | ||
int | n | ||
) |
Definition at line 675 of file fpreclass.c.
References r, Rast_fpreclass_get_cell_value(), Rast_is_c_null_value, and Rast_set_f_null_value().
void Rast_fpreclass_perform_ii | ( | const struct FPReclass * | r, |
const CELL * | icell, | ||
CELL * | cell, | ||
int | n | ||
) |
Definition at line 661 of file fpreclass.c.
References r, Rast_fpreclass_get_cell_value(), Rast_is_c_null_value, and Rast_set_c_null_value().
void Rast_fpreclass_reset | ( | struct FPReclass * | r | ) |
Definition at line 267 of file fpreclass.c.
References G_free(), r, and Rast_fpreclass_clear().
Referenced by Rast_fpreclass_init().
void Rast_fpreclass_reverse_rule_order | ( | struct FPReclass * | r | ) |
Definition at line 482 of file fpreclass.c.
Definition at line 287 of file fpreclass.c.
References r.
Definition at line 401 of file fpreclass.c.
Definition at line 426 of file fpreclass.c.