Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

vis.h File Reference

#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <limits.h>
#include <vispath.h>
#include <pathutil.h>

Include dependency graph for vis.h:

Go to the source code of this file.


#define OBSCURED   0.0
#define EQ(p, q)   ((p.x == q.x) && (p.y == q.y))
#define NEQ(p, q)   (!EQ(p,q))
#define NIL(p)   ((p)0)
#define CW   0
#define CCW   1


typedef COORD ** array2
typedef unsigned char boolean


COORDptVis (vconfig_t *, int, Ppoint_t)
int directVis (Ppoint_t, int, Ppoint_t, int, vconfig_t *)
void visibility (vconfig_t *)
int * makePath (Ppoint_t p, int pp, COORD *pvis, Ppoint_t q, int qp, COORD *qvis, vconfig_t *conf)

Define Documentation

#define CCW   1

Definition at line 40 of file vis.h.

#define CW   0

Definition at line 39 of file vis.h.

#define EQ p,
 )     ((p.x == q.x) && (p.y == q.y))

Definition at line 36 of file vis.h.

#define NEQ p,
 )     (!EQ(p,q))

Definition at line 37 of file vis.h.

#define NIL p   )     ((p)0)

Definition at line 38 of file vis.h.

#define OBSCURED   0.0

Definition at line 35 of file vis.h.

Typedef Documentation

typedef COORD** array2

Definition at line 32 of file vis.h.

typedef unsigned char boolean

Definition at line 33 of file vis.h.

Function Documentation

int directVis Ppoint_t  ,
int  ,
Ppoint_t  ,
int  ,

int* makePath Ppoint_t  p,
int  pp,
COORD pvis,
Ppoint_t  q,
int  qp,
COORD qvis,
vconfig_t conf

COORD* ptVis vconfig_t ,
int  ,

void visibility vconfig_t  ) 

Untitled Document Pesquisa Psi Logo