GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
Main Page
Related Pages
+
Data Structures
Data Structures
Class Hierarchy
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
z
+
Enumerations
a
c
d
e
h
l
m
n
o
p
r
s
t
v
y
+
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dig_macros.h
Go to the documentation of this file.
1
/*!
2
\file include/vect/dig_macros.h
3
4
\brief Macros for diglib (part of vector library
5
*/
6
7
/* ALIVE MACROS take a pointer the the structure in question */
8
/* and return 0 or non-zero */
9
#define LINE_ALIVE(p) ((p)->type<16)
/* assume DEAD are .GT. 1 << 3 */
10
#define NODE_ALIVE(p) ((p)->alive)
/* simple enuf */
11
#define AREA_LABELED(p) ((p)->alive && (p)->att)
12
#define LINE_LABELED(p) (LINE_ALIVE (p) && (p)->att)
13
#define AREA_ALIVE(p) ((p)->alive)
14
#define ISLE_ALIVE(p) ((p)->alive)
15
#define ATT_ALIVE(p) ((p)->type<16)
/* see LINE_ALIVE */
16
17
#define LESSER(x,y) ((x) < (y) ? (x) : (y))
18
#define GREATER(x,y) ((x) > (y) ? (x) : (y))
include
grass
vect
dig_macros.h
Generated on Mon May 31 2021 05:21:28 for GRASS GIS 7 Programmer's Manual by
1.8.13