#ifndef MY_DEBUG_DEFS

#define NO_DEBUG     0
#define MIN_DEBUG    1
#define MED_DEBUG    2
#define HIGH_DEBUG   3
#define LEVEL_MASK   7

#define POINT_LEVEL 16 
#define LINE_LEVEL  32 

#define DEBUG_MIN  ( (DEBUG & LEVEL_MASK) >= MIN_DEBUG  )
#define DEBUG_MED  ( (DEBUG & LEVEL_MASK) >= MED_DEBUG  )
#define DEBUG_HIGH ( (DEBUG & LEVEL_MASK) >= HIGH_DEBUG )

#define DEBUG_LINE ( DEBUG & LINE_LEVEL )
#define DEBUG_POINT ( DEBUG & POINT_LEVEL )

#define MY_DEBUG_DEFS
#endif
