Graphviz  2.41.20170921.2350
Data Structures | Macros | Typedefs | Functions
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:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vconfig_s


#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


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

Macro Definition Documentation

#define CCW   1

Definition at line 36 of file vis.h.

#define CW   0

Definition at line 35 of file vis.h.

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

Definition at line 32 of file vis.h.

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

Definition at line 33 of file vis.h.

#define NIL (   p)    ((p)0)

Definition at line 34 of file vis.h.

#define OBSCURED   0.0

Definition at line 31 of file vis.h.

Typedef Documentation

typedef COORD** array2

Definition at line 29 of file vis.h.

Function Documentation

int directVis ( Ppoint_t  ,
int  ,
Ppoint_t  ,
int  ,

Definition at line 400 of file visibility.c.

References INTERSECT, vconfig_s::N, vconfig_s::next, vconfig_s::P, s1(), and vconfig_s::start.

Referenced by makePath().

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

Definition at line 100 of file shortestpth.c.

References directVis(), vconfig_s::N, shortestPath(), and vconfig_s::vis.

Referenced by Pobspath().

COORD* ptVis ( vconfig_t ,
int  ,
void visibility ( vconfig_t )

Definition at line 305 of file visibility.c.

References vconfig_s::N, and vconfig_s::vis.

Referenced by Pobsopen().