GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
Go to the source code of this file.
Macros | |
#define | LINE_ALIVE(p) ((p)->type < 16) /* assume DEAD are .GT. 1 << 3 */ |
#define | NODE_ALIVE(p) ((p)->alive) /* simple enuf */ |
#define | AREA_LABELED(p) ((p)->alive && (p)->att) |
#define | LINE_LABELED(p) (LINE_ALIVE(p) && (p)->att) |
#define | AREA_ALIVE(p) ((p)->alive) |
#define | ISLE_ALIVE(p) ((p)->alive) |
#define | ATT_ALIVE(p) ((p)->type < 16) /* see LINE_ALIVE */ |
#define | LESSER(x, y) ((x) < (y) ? (x) : (y)) |
#define | GREATER(x, y) ((x) > (y) ? (x) : (y)) |
#define AREA_ALIVE | ( | p | ) | ((p)->alive) |
Definition at line 13 of file dig_macros.h.
#define AREA_LABELED | ( | p | ) | ((p)->alive && (p)->att) |
Definition at line 11 of file dig_macros.h.
#define ATT_ALIVE | ( | p | ) | ((p)->type < 16) /* see LINE_ALIVE */ |
Definition at line 15 of file dig_macros.h.
Definition at line 18 of file dig_macros.h.
#define ISLE_ALIVE | ( | p | ) | ((p)->alive) |
Definition at line 14 of file dig_macros.h.
Definition at line 17 of file dig_macros.h.
#define LINE_ALIVE | ( | p | ) | ((p)->type < 16) /* assume DEAD are .GT. 1 << 3 */ |
Definition at line 9 of file dig_macros.h.
#define LINE_LABELED | ( | p | ) | (LINE_ALIVE(p) && (p)->att) |
Definition at line 12 of file dig_macros.h.
#define NODE_ALIVE | ( | p | ) | ((p)->alive) /* simple enuf */ |
Definition at line 10 of file dig_macros.h.