/usr/lib/grass72/include/grass/vect/dig_macros.h is in grass-dev 7.2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | /*!
\file include/vect/dig_macros.h
\brief Macros for diglib (part of vector library
*/
/* ALIVE MACROS take a pointer the the structure in question */
/* and return 0 or non-zero */
#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))
|