Graphviz
2.41.20171026.1811
|
#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <limits.h>
#include "vispath.h"
#include "pathutil.h"
Go to the source code of this file.
Data Structures | |
struct | vconfig_s |
Macros | |
#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 |
Typedefs | |
typedef COORD ** | array2 |
Functions | |
COORD * | ptVis (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) |
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().
Definition at line 339 of file visibility.c.
References dist(), vconfig_s::N, vconfig_s::next, vconfig_s::P, POLYID_UNKNOWN, vconfig_s::prev, and vconfig_s::start.
Referenced by Pobspath().
void visibility | ( | vconfig_t * | ) |
Definition at line 305 of file visibility.c.
References vconfig_s::N, and vconfig_s::vis.
Referenced by Pobsopen().