home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
gdead.berkeley.edu
/
gdead.berkeley.edu.tar
/
gdead.berkeley.edu
/
pub
/
cad-tools
/
ciftomann.tar
/
sort_dir
/
ciftomann.h
next >
Wrap
C/C++ Source or Header
|
1988-01-28
|
476b
|
29 lines
#define INFINITY 017777777777 /* 2^31-1 */
#define Abs(x) ( (x) < 0 ? -(x) : (x) )
#define Min(x,y) ( (x) > (y) ? (y) : (x))
#define Max(x,y) ( (x) < (y) ? (y) : (x))
#define Equal(a,b) ((a) == (b))
#define Less_than_Equal(a,b) ((a) <= (b))
#define Greater_than_Equal(a,b) ((a) >= (b))
typedef struct edgestruct {
int x;
int xend;
int y;
int sense;
} EDGE,*EDGEPTR;
#define ERROR -1
#define GOOD 0
#define UP 1
#define DOWN -1
extern char *ProgName;